| Index: mojo/tools/apptest_runner.py
|
| diff --git a/mojo/tools/apptest_runner.py b/mojo/tools/apptest_runner.py
|
| index ae65ebcb89b0849d122495cd0de655c3e0194640..6494db73cb1f8dee538345343d56b32f0967bdfb 100755
|
| --- a/mojo/tools/apptest_runner.py
|
| +++ b/mojo/tools/apptest_runner.py
|
| @@ -85,11 +85,11 @@
|
| if gtest_filter and not ran and not fail:
|
| print '[ NO TESTS ] ' + (test_name if args.verbose else '')
|
| continue
|
| - result = (not ran) or (ran and not fail)
|
| - # Use the apptest name if the whole suite failed.
|
| - fail = [test_name] if (not result and fail == [test]) else fail
|
| + # Use the apptest name if the whole suite failed or no fixtures were run.
|
| + fail = [test_name] if (not ran and (not fail or fail == [test])) else fail
|
| tests.extend(ran)
|
| failed.extend(fail)
|
| + result = ran and not fail
|
| print '[ PASSED ]' if result else '[ FAILED ]',
|
| print test_name if args.verbose or not result else ''
|
| # Abort when 3 apptest suites, or a tenth of all, have failed.
|
|
|