Commit f9d74683 authored by Jonathan Lambrechts's avatar Jonathan Lambrechts
Browse files

fix test return value

parent 39a12ac5
Pipeline #5433 passed with stage
in 39 seconds
import unittest
import sys
all_tests = [
"poiseuille.poiseuille",
"cavity.cavity",
......@@ -6,6 +7,8 @@ all_tests = [
suite = unittest.TestSuite()
for t in all_tests :
suite.addTest(unittest.defaultTestLoader.loadTestsFromName(t))
unittest.TextTestRunner().run(suite)
r = unittest.TextTestRunner().run(suite)
print(r)
sys.exit(r.wasSuccessful())
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment