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

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

Issue 136793005: Fix tree check for push-to-trunk. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 11 months 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 | « tools/push-to-trunk/push_to_trunk.py ('k') | 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 642 matching lines...) Expand 10 before | Expand all | Expand 10 after
653 ["log 1234..HEAD --format=%H", "rev1\n"], 653 ["log 1234..HEAD --format=%H", "rev1\n"],
654 ["log -1 rev1 --format=\"%s\"", "Log text 1.\n"], 654 ["log -1 rev1 --format=\"%s\"", "Log text 1.\n"],
655 ["log -1 rev1 --format=\"%B\"", "Text\nLOG=YES\nBUG=v8:321\nText\n"], 655 ["log -1 rev1 --format=\"%B\"", "Text\nLOG=YES\nBUG=v8:321\nText\n"],
656 ["log -1 rev1 --format=\"%an\"", "author1@chromium.org\n"], 656 ["log -1 rev1 --format=\"%an\"", "author1@chromium.org\n"],
657 [("commit -a -m \"Prepare push to trunk. " 657 [("commit -a -m \"Prepare push to trunk. "
658 "Now working on version 3.22.6.%s\"" % review_suffix), 658 "Now working on version 3.22.6.%s\"" % review_suffix),
659 " 2 files changed\n", 659 " 2 files changed\n",
660 CheckPreparePush], 660 CheckPreparePush],
661 ["cl upload -r \"reviewer@chromium.org\" --send-mail%s" % force_flag, 661 ["cl upload -r \"reviewer@chromium.org\" --send-mail%s" % force_flag,
662 "done\n"], 662 "done\n"],
663 ["cl dcommit -f", "Closing issue\n"], 663 ["cl presubmit", "Presubmit successfull\n"],
664 ["cl dcommit -f --bypass-hooks", "Closing issue\n"],
664 ["svn fetch", "fetch result\n"], 665 ["svn fetch", "fetch result\n"],
665 ["checkout svn/bleeding_edge", ""], 666 ["checkout svn/bleeding_edge", ""],
666 [("log -1 --format=%H --grep=\"Prepare push to trunk. " 667 [("log -1 --format=%H --grep=\"Prepare push to trunk. "
667 "Now working on version 3.22.6.\""), 668 "Now working on version 3.22.6.\""),
668 "hash1\n"], 669 "hash1\n"],
669 ["diff svn/trunk hash1", "patch content\n"], 670 ["diff svn/trunk hash1", "patch content\n"],
670 ["checkout -b %s svn/trunk" % TEST_CONFIG[TRUNKBRANCH], ""], 671 ["checkout -b %s svn/trunk" % TEST_CONFIG[TRUNKBRANCH], ""],
671 ["apply --index --reject \"%s\"" % TEST_CONFIG[PATCH_FILE], ""], 672 ["apply --index --reject \"%s\"" % TEST_CONFIG[PATCH_FILE], ""],
672 ["add \"%s\"" % TEST_CONFIG[VERSION_FILE], ""], 673 ["add \"%s\"" % TEST_CONFIG[VERSION_FILE], ""],
673 ["commit -F \"%s\"" % TEST_CONFIG[COMMITMSG_FILE], "", CheckSVNCommit], 674 ["commit -F \"%s\"" % TEST_CONFIG[COMMITMSG_FILE], "", CheckSVNCommit],
(...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after
821 822
822 Review URL: https://codereview.chromium.org/83173002 823 Review URL: https://codereview.chromium.org/83173002
823 824
824 ------------------------------------------------------------------------""") 825 ------------------------------------------------------------------------""")
825 self.assertEquals( 826 self.assertEquals(
826 """Prepare push to trunk. Now working on version 3.23.11. 827 """Prepare push to trunk. Now working on version 3.23.11.
827 828
828 R=danno@chromium.org 829 R=danno@chromium.org
829 830
830 Committed: https://code.google.com/p/v8/source/detail?r=17997""", body) 831 Committed: https://code.google.com/p/v8/source/detail?r=17997""", body)
OLDNEW
« no previous file with comments | « tools/push-to-trunk/push_to_trunk.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698