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)
else:
inform("compilation failed", color=FAILURE, linebreak=True)
print_ostreams(compilation_result)
cleanup()
sys.exit(1)
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