Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(256)

Side by Side Diff: tools/push-to-trunk/test_scripts.py

Issue 688013002: Fix presubmit. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/usr/bin/env python 1 #!/usr/bin/env python
2 # Copyright 2013 the V8 project authors. All rights reserved. 2 # Copyright 2013 the V8 project authors. All rights reserved.
3 # Redistribution and use in source and binary forms, with or without 3 # Redistribution and use in source and binary forms, with or without
4 # modification, are permitted provided that the following conditions are 4 # modification, are permitted provided that the following conditions are
5 # met: 5 # met:
6 # 6 #
7 # * Redistributions of source code must retain the above copyright 7 # * Redistributions of source code must retain the above copyright
8 # notice, this list of conditions and the following disclaimer. 8 # notice, this list of conditions and the following disclaimer.
9 # * Redistributions in binary form must reproduce the above 9 # * Redistributions in binary form must reproduce the above
10 # copyright notice, this list of conditions and the following 10 # copyright notice, this list of conditions and the following
(...skipping 795 matching lines...) Expand 10 before | Expand all | Expand 10 after
806 Cmd("git checkout -f origin/candidates -- src/version.cc", "", 806 Cmd("git checkout -f origin/candidates -- src/version.cc", "",
807 cb=self.WriteFakeVersionFile), 807 cb=self.WriteFakeVersionFile),
808 Cmd("git commit -aF \"%s\"" % TEST_CONFIG["COMMITMSG_FILE"], "", 808 Cmd("git commit -aF \"%s\"" % TEST_CONFIG["COMMITMSG_FILE"], "",
809 cb=CheckSVNCommit), 809 cb=CheckSVNCommit),
810 ] 810 ]
811 if manual: 811 if manual:
812 expectations.append(RL("Y")) # Sanity check. 812 expectations.append(RL("Y")) # Sanity check.
813 expectations += [ 813 expectations += [
814 Cmd("git svn dcommit 2>&1", ""), 814 Cmd("git svn dcommit 2>&1", ""),
815 Cmd("git fetch", ""), 815 Cmd("git fetch", ""),
816 Cmd("git log -1 --format=%H --grep="» 816 Cmd("git log -1 --format=%H --grep="
817 "\"Version 3.22.5 (based on push_hash)\""» 817 "\"Version 3.22.5 (based on push_hash)\""
818 " origin/candidates", "hsh_to_tag"), 818 " origin/candidates", "hsh_to_tag"),
819 Cmd("git tag 3.22.5 hsh_to_tag", ""), 819 Cmd("git tag 3.22.5 hsh_to_tag", ""),
820 Cmd("git push origin 3.22.5", ""), 820 Cmd("git push origin 3.22.5", ""),
821 Cmd("git checkout -f some_branch", ""), 821 Cmd("git checkout -f some_branch", ""),
822 Cmd("git branch -D %s" % TEST_CONFIG["BRANCHNAME"], ""), 822 Cmd("git branch -D %s" % TEST_CONFIG["BRANCHNAME"], ""),
823 Cmd("git branch -D %s" % TEST_CONFIG["TRUNKBRANCH"], ""), 823 Cmd("git branch -D %s" % TEST_CONFIG["TRUNKBRANCH"], ""),
824 ] 824 ]
825 self.Expect(expectations) 825 self.Expect(expectations)
826 826
827 args = ["-a", "author@chromium.org", "--revision", "push_hash", 827 args = ["-a", "author@chromium.org", "--revision", "push_hash",
(...skipping 883 matching lines...) Expand 10 before | Expand all | Expand 10 after
1711 1711
1712 Review URL: https://codereview.chromium.org/83173002 1712 Review URL: https://codereview.chromium.org/83173002
1713 1713
1714 ------------------------------------------------------------------------""") 1714 ------------------------------------------------------------------------""")
1715 self.assertEquals( 1715 self.assertEquals(
1716 """Prepare push to trunk. Now working on version 3.23.11. 1716 """Prepare push to trunk. Now working on version 3.23.11.
1717 1717
1718 R=danno@chromium.org 1718 R=danno@chromium.org
1719 1719
1720 Committed: https://code.google.com/p/v8/source/detail?r=17997""", body) 1720 Committed: https://code.google.com/p/v8/source/detail?r=17997""", body)
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698