mirror of https://github.com/VLSIDA/OpenRAM.git
Add negation to return code so tests fail or pass properly.
This commit is contained in:
parent
299a9432e6
commit
733be110a2
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in New Issue