for test in tests:
subprocess.run([preprocessor, include_path, "-o", cpp_temp_file, path_to_tests + test[0] + src_extension])
subprocess.run([compiler_path, '-i', cpp_temp_file, '-o', temp_file])
result = subprocess.run([interpreter_path, '-i', temp_file], stdout=subprocess.PIPE, input=test[1].encode('utf-8'))
if result.stdout.decode('utf-8') != test[2]:
print('\n' + test[0])
for test in tests:
subprocess.run([preprocessor, include_path, "-o", cpp_temp_file, path_to_tests + test[0] + src_extension])
subprocess.run([compiler_path, '-i', cpp_temp_file, '-o', temp_file])
result = subprocess.run([interpreter_path, '-i', temp_file], stdout=subprocess.PIPE, input=test[1].encode('utf-8'))
if result.stdout.decode('utf-8') != test[2]:
print('\n' + test[0])