mirror of
https://github.com/VLSIDA/OpenRAM.git
synced 2026-08-30 09:58:33 +02:00
Add negation to return code so tests fail or pass properly.
This commit is contained in:
@@ -27,5 +27,5 @@ modules = map(__import__, moduleNames)
|
||||
suite = unittest.TestSuite()
|
||||
load = unittest.defaultTestLoader.loadTestsFromModule
|
||||
suite.addTests(map(load, modules))
|
||||
ret = unittest.TextTestRunner(verbosity=2).run(suite).wasSuccessful()
|
||||
ret = not unittest.TextTestRunner(verbosity=2).run(suite).wasSuccessful()
|
||||
sys.exit(ret)
|
||||
|
||||
Reference in New Issue
Block a user