diff options
author | Craig Tiller <ctiller@google.com> | 2015-02-26 15:40:39 -0800 |
---|---|---|
committer | Craig Tiller <ctiller@google.com> | 2015-02-26 15:40:39 -0800 |
commit | b84728d6dd568b9e0104376d8232cea89c5a6052 (patch) | |
tree | bb87788ed2085d1866794c6dc559a891fa2037b6 /tools | |
parent | 9d6139a6f6fae12e941023a5c2c7f1025884c639 (diff) |
Better logging for Travis
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/run_tests/jobset.py | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/tools/run_tests/jobset.py b/tools/run_tests/jobset.py index 22d24c124c..7e1faa7b94 100755 --- a/tools/run_tests/jobset.py +++ b/tools/run_tests/jobset.py @@ -169,8 +169,7 @@ class Job(object): self._state = _RUNNING self._newline_on_success = newline_on_success self._travis = travis - if not travis: - message('START', spec.shortname) + message('START', spec.shortname, do_newline=self._travis) def state(self, update_cache): """Poll current state of the job. Prints messages at completion.""" @@ -290,7 +289,11 @@ def run(cmdlines, maxjobs if maxjobs is not None else _DEFAULT_MAX_JOBS, newline_on_success, travis, cache if cache is not None else NoCache()) - for cmdline in shuffle_iteratable(cmdlines): + if not travis: + cmdlines = shuffle_iteratable(cmdlines) + else: + cmdlines = sorted(cmdlines) + for cmdline in cmdlines: if not js.start(cmdline): break return js.finish() |