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 1185 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1196 self.assertTrue(re.search(r"#define MINOR_VERSION\s+22", version)) | 1196 self.assertTrue(re.search(r"#define MINOR_VERSION\s+22", version)) |
1197 self.assertTrue(re.search(r"#define BUILD_NUMBER\s+5", version)) | 1197 self.assertTrue(re.search(r"#define BUILD_NUMBER\s+5", version)) |
1198 self.assertTrue(re.search(r"#define PATCH_LEVEL\s+1", version)) | 1198 self.assertTrue(re.search(r"#define PATCH_LEVEL\s+1", version)) |
1199 self.assertTrue(re.search(r"#define IS_CANDIDATE_VERSION\s+0", version)) | 1199 self.assertTrue(re.search(r"#define IS_CANDIDATE_VERSION\s+0", version)) |
1200 | 1200 |
1201 self.Expect([ | 1201 self.Expect([ |
1202 Cmd("git status -s -uno", ""), | 1202 Cmd("git status -s -uno", ""), |
1203 Cmd("git status -s -b -uno", "## some_branch\n"), | 1203 Cmd("git status -s -b -uno", "## some_branch\n"), |
1204 Cmd("git fetch", ""), | 1204 Cmd("git fetch", ""), |
1205 Cmd("git branch", " branch1\n* branch2\n"), | 1205 Cmd("git branch", " branch1\n* branch2\n"), |
1206 Cmd("git checkout -b %s origin/branch-heads/candidates" % | 1206 Cmd("git checkout -b %s origin/candidates" % |
1207 TEST_CONFIG["BRANCHNAME"], ""), | 1207 TEST_CONFIG["BRANCHNAME"], ""), |
1208 Cmd(("git log --format=%H --grep=\"Port r12345\" " | 1208 Cmd(("git log --format=%H --grep=\"Port r12345\" " |
1209 "--reverse origin/master"), | 1209 "--reverse origin/master"), |
1210 "hash1\nhash2"), | 1210 "hash1\nhash2"), |
1211 Cmd("git svn find-rev hash1 origin/master", "45678"), | 1211 Cmd("git svn find-rev hash1 origin/master", "45678"), |
1212 Cmd("git log -1 --format=%s hash1", "Title1"), | 1212 Cmd("git log -1 --format=%s hash1", "Title1"), |
1213 Cmd("git svn find-rev hash2 origin/master", "23456"), | 1213 Cmd("git svn find-rev hash2 origin/master", "23456"), |
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"), |
(...skipping 447 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1664 | 1664 |
1665 Review URL: https://codereview.chromium.org/83173002 | 1665 Review URL: https://codereview.chromium.org/83173002 |
1666 | 1666 |
1667 ------------------------------------------------------------------------""") | 1667 ------------------------------------------------------------------------""") |
1668 self.assertEquals( | 1668 self.assertEquals( |
1669 """Prepare push to trunk. Now working on version 3.23.11. | 1669 """Prepare push to trunk. Now working on version 3.23.11. |
1670 | 1670 |
1671 R=danno@chromium.org | 1671 R=danno@chromium.org |
1672 | 1672 |
1673 Committed: https://code.google.com/p/v8/source/detail?r=17997""", body) | 1673 Committed: https://code.google.com/p/v8/source/detail?r=17997""", body) |
OLD | NEW |