Permalink
Browse files

Fixed: Tests returning successful (0) on failure

Change-Id: Ifd10426db35b3cba704d0382e41a80b900d7fc3f
  • Loading branch information...
1 parent 473bdb7 commit 4213cd975f4162644a25f1d7221bb31e5ce53de6 @dolph dolph committed Dec 14, 2011
Showing with 2 additions and 1 deletion.
  1. +2 −1 run_tests.py
View
@@ -63,4 +63,5 @@
for test_num, test_cls in enumerate(TESTS):
print 'Starting test %d of %d with config: %s' % \
(test_num + 1, len(TESTS), test_cls.config_name)
- test_cls().run()
+ if test_cls().run():
+ exit(1)

0 comments on commit 4213cd9

Please sign in to comment.