diff options
author | erikkay@chromium.org <erikkay@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-09-11 21:45:59 +0000 |
---|---|---|
committer | erikkay@chromium.org <erikkay@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-09-11 21:45:59 +0000 |
commit | f4abbdf7a9dedc781ca78ec933125b48949fb6ff (patch) | |
tree | 48a26dbd14d06d9707d6cecd87b51fb18e7ea075 /tools | |
parent | 2ea67f9ed300515c7a65a52d2643440f888034e4 (diff) | |
download | chromium_src-f4abbdf7a9dedc781ca78ec933125b48949fb6ff.zip chromium_src-f4abbdf7a9dedc781ca78ec933125b48949fb6ff.tar.gz chromium_src-f4abbdf7a9dedc781ca78ec933125b48949fb6ff.tar.bz2 |
Write layout test output to chunk dir to enable a purify dashboard to be possible. (it can now see which tests were run each chunk)
BUG=18475
Review URL: http://codereview.chromium.org/173595
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@26024 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'tools')
-rw-r--r-- | tools/purify/chrome_tests.py | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/tools/purify/chrome_tests.py b/tools/purify/chrome_tests.py index e349cb2..b6cdf7e 100644 --- a/tools/purify/chrome_tests.py +++ b/tools/purify/chrome_tests.py @@ -284,9 +284,6 @@ class ChromeTests: script_cmd = ["python.exe", script, "--run-singly", "-v", "--noshow-results", "--time-out-ms=200000", "--nocheck-sys-deps"] - if not run_all: - script_cmd.append("--run-chunk=%d:%d" % (chunk_num, chunk_size)) - if len(self._args): # if the arg is a txt file, then treat it as a list of tests if os.path.isfile(self._args[0]) and self._args[0][-4:] == ".txt": @@ -299,8 +296,14 @@ class ChromeTests: script_cmd, multi=True, cmd_args=["--timeout=0"]) return ret - # store each chunk in its own directory so that we can find the data later + # Store each chunk in its own directory so that we can find the data later. chunk_dir = os.path.join("chunk_%05d" % chunk_num) + script_cmd.append("--run-chunk=%d:%d" % (chunk_num, chunk_size)) + + # Put the layout test results in the chunk dir as well. + script_cmd.append("--results-dir=%s" % os.path.join(self._report_dir, + chunk_dir)); + ret = self.ScriptedTest("webkit", "test_shell.exe", "layout", script_cmd, multi=True, cmd_args=["--timeout=0"], out_dir_extra=chunk_dir) |