Chromium Code Reviews| Index: mojo/tools/get_test_list.py |
| diff --git a/mojo/tools/get_test_list.py b/mojo/tools/get_test_list.py |
| index c59602c10244b174054ca4e0120d7a7db2ceaa19..312cd012ef68e8ca39482a471b7d26069f09b785 100755 |
| --- a/mojo/tools/get_test_list.py |
| +++ b/mojo/tools/get_test_list.py |
| @@ -117,9 +117,21 @@ def GetTestList(config, verbose_count=0): |
| if (target_os == Config.OS_LINUX and |
| config.sanitizer != Config.SANITIZER_ASAN and |
| ShouldRunTest(Config.TEST_TYPE_DEFAULT, Config.TEST_TYPE_UNIT, "go")): |
| - AddEntry("Go unit tests", |
| + |
| + # Go system tests |
|
ppi
2015/10/05 21:49:58
Please end comment with ":" to match the others.
rudominer
2015/10/05 23:08:12
Done.
|
| + AddEntry("Go system tests", |
| [os.path.join(build_dir, "obj", "mojo", "go", "system_test")]) |
| + # Pure Go unit tests |
|
ppi
2015/10/05 21:49:58
Please end with ":".
rudominer
2015/10/05 23:08:12
Done.
|
| + if 'go_build_tool' in config.values: |
|
viettrungluu
2015/10/05 23:10:38
Apparently, in this file, we prefer double quotes.
rudominer
2015/10/06 00:29:10
Done.
|
| + go_tool = config.values['go_build_tool'] |
| + else: |
| + go_tool = os.path.join(Paths().src_root, 'third_party', 'go', 'tool', |
|
viettrungluu
2015/10/05 23:10:38
Should this path ever be taken?
rudominer
2015/10/06 00:29:10
The reason I added this is that on the try bots th
viettrungluu
2015/10/06 01:46:29
That sounds like the right thing to do.
rudominer
2015/10/06 20:28:53
I discovered that the json file being consumed is
viettrungluu
2015/10/06 21:03:44
Then the question is why it's in the config at all
rudominer
2015/10/09 18:30:30
Took your later suggestion and am now using paths.
|
| + 'linux_amd64', 'bin', 'go') |
| + AddEntry("Pure go unit tests", |
|
ppi
2015/10/05 21:49:58
I'd just say "Go unit tests", as we have "Python u
rudominer
2015/10/05 23:08:12
Done. Note that I left the word "Pure" in the comm
|
| + ["python", os.path.join("mojo", "tools", "run_pure_go_tests.py"), |
| + "--go_tool=" + go_tool]) |
| + |
| # Python unit tests: |
| if ShouldRunTest(Config.TEST_TYPE_DEFAULT, Config.TEST_TYPE_UNIT, "python"): |
| AddEntry("Python unit tests", |