Commit 715e59c5 authored by Matthew P. Russell's avatar Matthew P. Russell
Browse files

Update unit_test

parent 7c4ed168
......@@ -140,14 +140,13 @@ inform("tests were set up successfully", color=SUCCESS)
inform("compiling tests", color=INFO, linebreak=True)
compilation_result = run(['make'])
# if compilation fails, show the result and quit
if compilation_result.returncode == 0:
inform("compilation passed", color=SUCCESS)
inform("compilation failed", color=FAILURE, linebreak=True)
sys.exit(1) # quit if compilation fails
# run the tests #
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