DescriptionAssert that md5sum was built instead of failing silently.
The exit when md5sum does not exist fails silently with a short message buried
in the output with no tests run. The reason is because this is an asynchronous
process and the exit does not exist the script. The assert on the other hand
will stop the script and print the following, making it clear the script failed
and that md5sum should be built:
@@@STEP_FAILURE@@@
Traceback (most recent call last):
File "build/android/run_instrumentation_tests.py", line 108, in <module>
sys.exit(main(sys.argv))
File "build/android/run_instrumentation_tests.py", line 101, in main
ret = DispatchInstrumentationTests(options)
...
results_lists = async_results.get(999999)
File "/usr/lib/python2.7/multiprocessing/pool.py", line 528, in get
raise self._value
AssertionError: Please build md5sum.
BUG=
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=174299
Patch Set 1 #
Messages
Total messages: 5 (0 generated)
|