diff options
author | navabi@google.com <navabi@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-12-21 01:05:55 +0000 |
---|---|---|
committer | navabi@google.com <navabi@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-12-21 01:05:55 +0000 |
commit | 69657d364ace8c5c26017fee2c3f915cd31408a2 (patch) | |
tree | 533e20ce9ea4b2778d0fe287cd1e560ffe148d64 /sync/internal_api/js_sync_manager_observer.cc | |
parent | 2c553f929f26f0399160393dc8a8b5de839045ed (diff) | |
download | chromium_src-69657d364ace8c5c26017fee2c3f915cd31408a2.zip chromium_src-69657d364ace8c5c26017fee2c3f915cd31408a2.tar.gz chromium_src-69657d364ace8c5c26017fee2c3f915cd31408a2.tar.bz2 |
Assert 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=
Review URL: https://chromiumcodereview.appspot.com/11613014
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@174299 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'sync/internal_api/js_sync_manager_observer.cc')
0 files changed, 0 insertions, 0 deletions