Fixed: Tests returning successful (0) on failure

Change-Id: Ifd10426db35b3cba704d0382e41a80b900d7fc3f
This commit is contained in:
Dolph Mathews 2011-12-14 12:14:08 -06:00
parent 473bdb748f
commit 4213cd975f
1 changed files with 2 additions and 1 deletions

View File

@ -63,4 +63,5 @@ if __name__ == '__main__':
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)