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

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

Issue 607023002: Fix resolving svn revisions in release scripts. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 2 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/git_recipes.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 1203 matching lines...) Expand 10 before | Expand all | Expand 10 after
1214 Cmd("git log -1 --format=%s hash2", "Title2"), 1214 Cmd("git log -1 --format=%s hash2", "Title2"),
1215 Cmd(("git log --format=%H --grep=\"Port r23456\" " 1215 Cmd(("git log --format=%H --grep=\"Port r23456\" "
1216 "--reverse origin/master"), 1216 "--reverse origin/master"),
1217 ""), 1217 ""),
1218 Cmd(("git log --format=%H --grep=\"Port r34567\" " 1218 Cmd(("git log --format=%H --grep=\"Port r34567\" "
1219 "--reverse origin/master"), 1219 "--reverse origin/master"),
1220 "hash3"), 1220 "hash3"),
1221 Cmd("git svn find-rev hash3 origin/master", "56789"), 1221 Cmd("git svn find-rev hash3 origin/master", "56789"),
1222 Cmd("git log -1 --format=%s hash3", "Title3"), 1222 Cmd("git log -1 --format=%s hash3", "Title3"),
1223 RL("Y"), # Automatically add corresponding ports (34567, 56789)? 1223 RL("Y"), # Automatically add corresponding ports (34567, 56789)?
1224 Cmd("git svn find-rev r12345 origin/master", "hash4"), 1224 Cmd("git svn find-rev r12345 origin/master",
1225 "Partial-rebuilding bla\nDone rebuilding blub\nhash4"),
1225 # Simulate svn being down which stops the script. 1226 # Simulate svn being down which stops the script.
1226 Cmd("git svn find-rev r23456 origin/master", None), 1227 Cmd("git svn find-rev r23456 origin/master", None),
1227 # Restart script in the failing step. 1228 # Restart script in the failing step.
1228 Cmd("git svn find-rev r12345 origin/master", "hash4"), 1229 Cmd("git svn find-rev r12345 origin/master", "hash4"),
1229 Cmd("git svn find-rev r23456 origin/master", "hash2"), 1230 Cmd("git svn find-rev r23456 origin/master", "hash2"),
1230 Cmd("git svn find-rev r34567 origin/master", "hash3"), 1231 Cmd("git svn find-rev r34567 origin/master", "hash3"),
1231 Cmd("git svn find-rev r45678 origin/master", "hash1"), 1232 Cmd("git svn find-rev r45678 origin/master", "hash1"),
1232 Cmd("git svn find-rev r56789 origin/master", "hash5"), 1233 Cmd("git svn find-rev r56789 origin/master", "hash5"),
1233 Cmd("git log -1 --format=%s hash4", "Title4"), 1234 Cmd("git log -1 --format=%s hash4", "Title4"),
1234 Cmd("git log -1 --format=%s hash2", "Title2"), 1235 Cmd("git log -1 --format=%s hash2", "Title2"),
(...skipping 429 matching lines...) Expand 10 before | Expand all | Expand 10 after
1664 1665
1665 Review URL: https://codereview.chromium.org/83173002 1666 Review URL: https://codereview.chromium.org/83173002
1666 1667
1667 ------------------------------------------------------------------------""") 1668 ------------------------------------------------------------------------""")
1668 self.assertEquals( 1669 self.assertEquals(
1669 """Prepare push to trunk. Now working on version 3.23.11. 1670 """Prepare push to trunk. Now working on version 3.23.11.
1670 1671
1671 R=danno@chromium.org 1672 R=danno@chromium.org
1672 1673
1673 Committed: https://code.google.com/p/v8/source/detail?r=17997""", body) 1674 Committed: https://code.google.com/p/v8/source/detail?r=17997""", body)
OLDNEW
« no previous file with comments | « tools/push-to-trunk/git_recipes.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698