| OLD | NEW |
| 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 1355 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1366 Git("svn find-rev r123", "hash123"), | 1366 Git("svn find-rev r123", "hash123"), |
| 1367 Git("log -1 --format=%at hash123", "1"), | 1367 Git("log -1 --format=%at hash123", "1"), |
| 1368 Git("reset --hard hash123", ""), | 1368 Git("reset --hard hash123", ""), |
| 1369 Git("svn tag 3.4.3 -m \"Tagging version 3.4.3\"", ""), | 1369 Git("svn tag 3.4.3 -m \"Tagging version 3.4.3\"", ""), |
| 1370 Git("checkout -f some_branch", ""), | 1370 Git("checkout -f some_branch", ""), |
| 1371 Git("branch -D %s" % TEST_CONFIG[BRANCHNAME], ""), | 1371 Git("branch -D %s" % TEST_CONFIG[BRANCHNAME], ""), |
| 1372 ]) | 1372 ]) |
| 1373 | 1373 |
| 1374 self.ExpectReadURL([ | 1374 self.ExpectReadURL([ |
| 1375 URL("https://v8-status.appspot.com/revisions?format=json", | 1375 URL("https://v8-status.appspot.com/revisions?format=json", |
| 1376 "[{\"revision\": \"123\", \"status\": true}," | 1376 "[{\"revision\": \"126\", \"status\": true}," |
| 1377 "{\"revision\": \"123\", \"status\": true}," |
| 1377 "{\"revision\": \"112\", \"status\": true}]"), | 1378 "{\"revision\": \"112\", \"status\": true}]"), |
| 1378 ]) | 1379 ]) |
| 1379 | 1380 |
| 1380 AutoTag(TEST_CONFIG, self).Run(["-a", "author@chromium.org"]) | 1381 AutoTag(TEST_CONFIG, self).Run(["-a", "author@chromium.org"]) |
| 1381 | 1382 |
| 1382 # Test that we bail out if the last change was a version change. | 1383 # Test that we bail out if the last change was a version change. |
| 1383 def testBumpUpVersionBailout1(self): | 1384 def testBumpUpVersionBailout1(self): |
| 1384 TEST_CONFIG[VERSION_FILE] = self.MakeEmptyTempFile() | 1385 TEST_CONFIG[VERSION_FILE] = self.MakeEmptyTempFile() |
| 1385 self._state["latest"] = "latest_hash" | 1386 self._state["latest"] = "latest_hash" |
| 1386 | 1387 |
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1434 | 1435 |
| 1435 Review URL: https://codereview.chromium.org/83173002 | 1436 Review URL: https://codereview.chromium.org/83173002 |
| 1436 | 1437 |
| 1437 ------------------------------------------------------------------------""") | 1438 ------------------------------------------------------------------------""") |
| 1438 self.assertEquals( | 1439 self.assertEquals( |
| 1439 """Prepare push to trunk. Now working on version 3.23.11. | 1440 """Prepare push to trunk. Now working on version 3.23.11. |
| 1440 | 1441 |
| 1441 R=danno@chromium.org | 1442 R=danno@chromium.org |
| 1442 | 1443 |
| 1443 Committed: https://code.google.com/p/v8/source/detail?r=17997""", body) | 1444 Committed: https://code.google.com/p/v8/source/detail?r=17997""", body) |
| OLD | NEW |