diff --git a/tests/test_unit.py b/tests/test_unit.py index 3c425f8..f0fe949 100644 --- a/tests/test_unit.py +++ b/tests/test_unit.py @@ -5,6 +5,13 @@ import shutil def CheckOutput(output): return output == 'Hello world!\n' +def test_make(): + print(os.getcwd()) + fh = os.popen("/bin/bash -c 'make compile'", mode='r', buffering=-1) + output = fh.read() + retcode = fh.close() + assert retcode == None + def test_c(): print(os.getcwd()) fh = os.popen("./HelloWorld", mode='r', buffering=-1)