diff options
author | Roland Levillain <rpl@google.com> | 2018-02-22 17:49:36 +0000 |
---|---|---|
committer | Roland Levillain <rpl@google.com> | 2018-02-22 18:43:12 +0000 |
commit | c3394e03ace5eb85d06f02b4ba3d22de88b6dae8 (patch) | |
tree | 9e7a1d14ee6a161821c5de227b70e9f8039e0d33 /compiler/optimizing/graph_visualizer.cc | |
parent | b2f1edc3d1f162bd9007f10bc66009eac5b2daab (diff) |
Fix exit status of `run` scripts executing more than one test.
For some ART run-tests, the `run` script executes more than one
instance of the test (e.g. test/004-ThreadStress/run executes the
ThreadStress test twice: the first time as a normal run, the second
time in locks-only mode with stack-dump lock profiling). However,
these tests were returning the exit status of last test executed,
which could hide a potential earlier failure. This change ensure we
return the first failing exit status, if any.
Test: art/test/testrunner/testrunner.py
Change-Id: I5e4e4cc7d9311fe15637ea2f5248a0e9f2432d61
Diffstat (limited to 'compiler/optimizing/graph_visualizer.cc')
0 files changed, 0 insertions, 0 deletions