parent
6c026c84aa
commit
f0e00ce971
|
@ -4,6 +4,7 @@ from os.path import dirname, basename
|
|||
from importlib import import_module
|
||||
import argparse
|
||||
import os
|
||||
import sys
|
||||
import glob
|
||||
import unittest
|
||||
import logging
|
||||
|
@ -75,7 +76,9 @@ def main():
|
|||
|
||||
suite = unittest.TestSuite(test_suites)
|
||||
runner = unittest.TextTestRunner(verbosity=2)
|
||||
runner.run(suite)
|
||||
result = runner.run(suite)
|
||||
if result.failures or result.errors:
|
||||
sys.exit(1)
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
|
|
Loading…
Reference in a new issue