mirror of
https://github.com/jankae/LibreVNA.git
synced 2026-04-05 14:35:23 +00:00
add return value to tests, allow GUI to start without display
This commit is contained in:
parent
f897d98ab0
commit
70c44d006d
2 changed files with 4 additions and 1 deletions
|
|
@ -21,4 +21,6 @@ for t in testmodules:
|
|||
# else, just load all the test cases from the module.
|
||||
suite.addTest(unittest.defaultTestLoader.loadTestsFromName(t))
|
||||
|
||||
unittest.TextTestRunner().run(suite)
|
||||
result = unittest.TextTestRunner(verbosity=2).run(suite)
|
||||
exit(int(not result.wasSuccessful()))
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue