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 979 matching lines...) Loading... | |
990 Merged r12345, r23456, r34567, r45678, r56789 into trunk branch. | 990 Merged r12345, r23456, r34567, r45678, r56789 into trunk branch. |
991 | 991 |
992 Title4 | 992 Title4 |
993 | 993 |
994 Title2 | 994 Title2 |
995 | 995 |
996 Title3 | 996 Title3 |
997 | 997 |
998 Title1 | 998 Title1 |
999 | 999 |
1000 Title5 | 1000 Revert "Somthing" |
Jarin
2014/04/03 12:31:43
Is not this supposed to be "Something"? (+ occurre
| |
1001 | 1001 |
1002 BUG=123,234,345,456,567,v8:123 | 1002 BUG=123,234,345,456,567,v8:123 |
1003 LOG=N | 1003 LOG=N |
1004 """ | 1004 """ |
1005 | 1005 |
1006 def VerifySVNCommit(): | 1006 def VerifySVNCommit(): |
1007 commit = FileToText(TEST_CONFIG[COMMITMSG_FILE]) | 1007 commit = FileToText(TEST_CONFIG[COMMITMSG_FILE]) |
1008 self.assertEquals(msg, commit) | 1008 self.assertEquals(msg, commit) |
1009 version = FileToText(TEST_CONFIG[VERSION_FILE]) | 1009 version = FileToText(TEST_CONFIG[VERSION_FILE]) |
1010 self.assertTrue(re.search(r"#define MINOR_VERSION\s+22", version)) | 1010 self.assertTrue(re.search(r"#define MINOR_VERSION\s+22", version)) |
(...skipping 27 matching lines...) Loading... | |
1038 # Restart script in the failing step. | 1038 # Restart script in the failing step. |
1039 Git("svn find-rev r12345 svn/bleeding_edge", "hash4"), | 1039 Git("svn find-rev r12345 svn/bleeding_edge", "hash4"), |
1040 Git("svn find-rev r23456 svn/bleeding_edge", "hash2"), | 1040 Git("svn find-rev r23456 svn/bleeding_edge", "hash2"), |
1041 Git("svn find-rev r34567 svn/bleeding_edge", "hash3"), | 1041 Git("svn find-rev r34567 svn/bleeding_edge", "hash3"), |
1042 Git("svn find-rev r45678 svn/bleeding_edge", "hash1"), | 1042 Git("svn find-rev r45678 svn/bleeding_edge", "hash1"), |
1043 Git("svn find-rev r56789 svn/bleeding_edge", "hash5"), | 1043 Git("svn find-rev r56789 svn/bleeding_edge", "hash5"), |
1044 Git("log -1 --format=%s hash4", "Title4"), | 1044 Git("log -1 --format=%s hash4", "Title4"), |
1045 Git("log -1 --format=%s hash2", "Title2"), | 1045 Git("log -1 --format=%s hash2", "Title2"), |
1046 Git("log -1 --format=%s hash3", "Title3"), | 1046 Git("log -1 --format=%s hash3", "Title3"), |
1047 Git("log -1 --format=%s hash1", "Title1"), | 1047 Git("log -1 --format=%s hash1", "Title1"), |
1048 Git("log -1 --format=%s hash5", "Title5"), | 1048 Git("log -1 --format=%s hash5", "Revert \"Somthing\""), |
1049 Git("log -1 hash4", "Title4\nBUG=123\nBUG=234"), | 1049 Git("log -1 hash4", "Title4\nBUG=123\nBUG=234"), |
1050 Git("log -1 hash2", "Title2\n BUG = v8:123,345"), | 1050 Git("log -1 hash2", "Title2\n BUG = v8:123,345"), |
1051 Git("log -1 hash3", "Title3\nLOG=n\nBUG=567, 456"), | 1051 Git("log -1 hash3", "Title3\nLOG=n\nBUG=567, 456"), |
1052 Git("log -1 hash1", "Title1"), | 1052 Git("log -1 hash1", "Title1\nBUG="), |
1053 Git("log -1 hash5", "Title5"), | 1053 Git("log -1 hash5", "Revert \"Somthing\"\nBUG=none"), |
1054 Git("log -1 -p hash4", "patch4"), | 1054 Git("log -1 -p hash4", "patch4"), |
1055 Git("apply --index --reject \"%s\"" % TEST_CONFIG[TEMPORARY_PATCH_FILE], | 1055 Git("apply --index --reject \"%s\"" % TEST_CONFIG[TEMPORARY_PATCH_FILE], |
1056 "", cb=VerifyPatch("patch4")), | 1056 "", cb=VerifyPatch("patch4")), |
1057 Git("log -1 -p hash2", "patch2"), | 1057 Git("log -1 -p hash2", "patch2"), |
1058 Git("apply --index --reject \"%s\"" % TEST_CONFIG[TEMPORARY_PATCH_FILE], | 1058 Git("apply --index --reject \"%s\"" % TEST_CONFIG[TEMPORARY_PATCH_FILE], |
1059 "", cb=VerifyPatch("patch2")), | 1059 "", cb=VerifyPatch("patch2")), |
1060 Git("log -1 -p hash3", "patch3"), | 1060 Git("log -1 -p hash3", "patch3"), |
1061 Git("apply --index --reject \"%s\"" % TEST_CONFIG[TEMPORARY_PATCH_FILE], | 1061 Git("apply --index --reject \"%s\"" % TEST_CONFIG[TEMPORARY_PATCH_FILE], |
1062 "", cb=VerifyPatch("patch3")), | 1062 "", cb=VerifyPatch("patch3")), |
1063 Git("log -1 -p hash1", "patch1"), | 1063 Git("log -1 -p hash1", "patch1"), |
1064 Git("apply --index --reject \"%s\"" % TEST_CONFIG[TEMPORARY_PATCH_FILE], | 1064 Git("apply --index --reject \"%s\"" % TEST_CONFIG[TEMPORARY_PATCH_FILE], |
1065 "", cb=VerifyPatch("patch1")), | 1065 "", cb=VerifyPatch("patch1")), |
1066 Git("log -1 -p hash5", "patch5\n"), | 1066 Git("log -1 -p hash5", "patch5\n"), |
1067 Git("apply --index --reject \"%s\"" % TEST_CONFIG[TEMPORARY_PATCH_FILE], | 1067 Git("apply --index --reject \"%s\"" % TEST_CONFIG[TEMPORARY_PATCH_FILE], |
1068 "", cb=VerifyPatch("patch5\n")), | 1068 "", cb=VerifyPatch("patch5\n")), |
1069 Git("apply --index --reject \"%s\"" % extra_patch, ""), | 1069 Git("apply --index --reject \"%s\"" % extra_patch, ""), |
1070 Git("commit -aF \"%s\"" % TEST_CONFIG[COMMITMSG_FILE], ""), | 1070 Git("commit -aF \"%s\"" % TEST_CONFIG[COMMITMSG_FILE], ""), |
1071 Git("cl upload --send-mail -r \"reviewer@chromium.org\"", ""), | 1071 Git("cl upload --send-mail -r \"reviewer@chromium.org\"", ""), |
1072 Git("checkout -f %s" % TEST_CONFIG[BRANCHNAME], ""), | 1072 Git("checkout -f %s" % TEST_CONFIG[BRANCHNAME], ""), |
1073 Git("cl presubmit", "Presubmit successfull\n"), | 1073 Git("cl presubmit", "Presubmit successfull\n"), |
1074 Git("cl dcommit -f --bypass-hooks", "Closing issue\n", cb=VerifySVNCommit) , | 1074 Git("cl dcommit -f --bypass-hooks", "Closing issue\n", cb=VerifySVNCommit) , |
1075 Git("svn fetch", ""), | 1075 Git("svn fetch", ""), |
1076 Git("log -1 --format=%%H --grep=\"%s\" svn/trunk" % msg, "hash6"), | 1076 Git(("log -1 --format=%%H --grep=\"%s\" svn/trunk" |
1077 % msg.replace("\"", "\\\"")), "hash6"), | |
1077 Git("svn find-rev hash6", "1324"), | 1078 Git("svn find-rev hash6", "1324"), |
1078 Git(("copy -r 1324 https://v8.googlecode.com/svn/trunk " | 1079 Git(("copy -r 1324 https://v8.googlecode.com/svn/trunk " |
1079 "https://v8.googlecode.com/svn/tags/3.22.5.1 -m " | 1080 "https://v8.googlecode.com/svn/tags/3.22.5.1 -m " |
1080 "\"Tagging version 3.22.5.1\""), ""), | 1081 "\"Tagging version 3.22.5.1\""), ""), |
1081 Git("checkout -f some_branch", ""), | 1082 Git("checkout -f some_branch", ""), |
1082 Git("branch -D %s" % TEST_CONFIG[TEMP_BRANCH], ""), | 1083 Git("branch -D %s" % TEST_CONFIG[TEMP_BRANCH], ""), |
1083 Git("branch -D %s" % TEST_CONFIG[BRANCHNAME], ""), | 1084 Git("branch -D %s" % TEST_CONFIG[BRANCHNAME], ""), |
1084 ]) | 1085 ]) |
1085 | 1086 |
1086 self.ExpectReadline([ | 1087 self.ExpectReadline([ |
(...skipping 31 matching lines...) Loading... | |
1118 | 1119 |
1119 Review URL: https://codereview.chromium.org/83173002 | 1120 Review URL: https://codereview.chromium.org/83173002 |
1120 | 1121 |
1121 ------------------------------------------------------------------------""") | 1122 ------------------------------------------------------------------------""") |
1122 self.assertEquals( | 1123 self.assertEquals( |
1123 """Prepare push to trunk. Now working on version 3.23.11. | 1124 """Prepare push to trunk. Now working on version 3.23.11. |
1124 | 1125 |
1125 R=danno@chromium.org | 1126 R=danno@chromium.org |
1126 | 1127 |
1127 Committed: https://code.google.com/p/v8/source/detail?r=17997""", body) | 1128 Committed: https://code.google.com/p/v8/source/detail?r=17997""", body) |
OLD | NEW |