We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a1fd3c5 commit e30e686Copy full SHA for e30e686
run_examples_as_tests.py
@@ -79,5 +79,6 @@ def worker(example_name):
79
80
print("Total time to run all examples: %fs" %(time.time() - init_time))
81
82
- del os.environ["PYTHONOCC_OFFSCREEN_RENDERER"]
83
- del os.environ["PYTHONOCC_SHUNT_WEB_SERVER"]
+ # if failed, exit with error
+ if failed > 0:
84
+ sys.exit(1)
0 commit comments