diff options
Diffstat (limited to 'test.py')
-rwxr-xr-x | test.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -23,10 +23,10 @@ if not os.path.exists("build"): test_files = glob.glob("tests/test_*.cpp") source_files = glob.glob("src/*.cpp") -compile_args = "g++ -Itests/include -Iinclude -Ilib --std=c++11".split() +compile_args = "g++ -g -O0 -Itests/include -Iinclude -Ilib --std=c++11".split() compile_args += source_files for test_file in test_files: - exe_file = "build/" + test_file[:4] + exe_file = "build/" + test_file[5:-4] subprocess.check_call(compile_args + [test_file, "-o", exe_file]) subprocess.check_call([exe_file]) |