Index: tools/push-to-trunk/test_scripts.py |
diff --git a/tools/push-to-trunk/test_scripts.py b/tools/push-to-trunk/test_scripts.py |
index 28d67b8ddea9fd6365c349957289772fc8812e80..108d1519e0ef8b4740a713167b4b81b81eb3ca3b 100644 |
--- a/tools/push-to-trunk/test_scripts.py |
+++ b/tools/push-to-trunk/test_scripts.py |
@@ -1191,6 +1191,7 @@ LOG=N |
"Version 3.3.1.1 (merged 12)\n\nReview URL: fake.com\n"), |
Git("log -1 --format=%s hash2", ""), |
Git("svn find-rev hash2", "234"), |
+ Git("log -1 --format=%ci hash2", "18:15"), |
Git("checkout -f HEAD -- %s" % TEST_CONFIG[VERSION_FILE], "", |
cb=ResetVersion(22, 5)), |
Git("reset --hard svn/3.21", ""), |
@@ -1201,6 +1202,7 @@ LOG=N |
Git("log -1 --format=%B hash3", ""), |
Git("log -1 --format=%s hash3", ""), |
Git("svn find-rev hash3", "123"), |
+ Git("log -1 --format=%ci hash3", "03:15"), |
Git("checkout -f HEAD -- %s" % TEST_CONFIG[VERSION_FILE], "", |
cb=ResetVersion(22, 5)), |
Git("reset --hard svn/trunk", ""), |
@@ -1211,6 +1213,7 @@ LOG=N |
Git("log -1 --format=%B hash6", ""), |
Git("log -1 --format=%s hash6", ""), |
Git("svn find-rev hash6", "345"), |
+ Git("log -1 --format=%ci hash6", ""), |
Git("checkout -f HEAD -- %s" % TEST_CONFIG[VERSION_FILE], "", |
cb=ResetVersion(22, 5)), |
Git("status -s -uno", ""), |
@@ -1247,15 +1250,15 @@ LOG=N |
expected_json = [ |
{"bleeding_edge": "", "patches_merged": "", "version": "3.22.3", |
"chromium_revision": "4567", "branch": "trunk", "revision": "345", |
- "review_link": "", |
+ "review_link": "", "date": "", |
"revision_link": "https://code.google.com/p/v8/source/detail?r=345"}, |
{"patches_merged": "", "bleeding_edge": "", "version": "3.21.2", |
"chromium_revision": "", "branch": "3.21", "revision": "123", |
- "review_link": "", |
+ "review_link": "", "date": "03:15", |
"revision_link": "https://code.google.com/p/v8/source/detail?r=123"}, |
{"patches_merged": "12", "bleeding_edge": "", "version": "3.3.1.1", |
"chromium_revision": "", "branch": "3.3", "revision": "234", |
- "review_link": "fake.com", |
+ "review_link": "fake.com", "date": "18:15", |
"revision_link": "https://code.google.com/p/v8/source/detail?r=234"}, |
] |
self.assertEquals(expected_json, json.loads(FileToText(json_output))) |