mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-07-27 20:02:15 +00:00
Fix integration_tests/test_main.py to have correct exit code (#2010)
This commit is contained in:
parent
ace0b2ca1c
commit
d5d1719c1f
1 changed files with 6 additions and 0 deletions
|
|
@ -28,3 +28,9 @@ if __name__ == '__main__':
|
|||
runner = unittest.TextTestRunner(verbosity=2)
|
||||
|
||||
results = runner.run(suites)
|
||||
|
||||
if results.wasSuccessful():
|
||||
exit(0)
|
||||
else:
|
||||
exit(1)
|
||||
|
||||
Loading…
Reference in a new issue