X-Git-Url: https://code.kerkeslager.com/?p=fur;a=blobdiff_plain;f=integration_tests.py;h=a4d7c672ccc564d03cdf74fe349d02319dfbd7a1;hp=53bc2657fa2fe169bdad9547cdb7a3168a6cf9ba;hb=61733d6070859e6a639ae4b34faec9aacca52a29;hpb=71e31cb70ae58b776dd646c87db37d0250bb63de diff --git a/integration_tests.py b/integration_tests.py index 53bc265..a4d7c67 100644 --- a/integration_tests.py +++ b/integration_tests.py @@ -32,7 +32,7 @@ def add_example_output_test(filename): p = subprocess.Popen('./a.out', stdout=subprocess.PIPE, stderr=subprocess.PIPE) actual_stdout, actual_stderr = p.communicate() - expected_stdout_path = os.path.join('examples', filename + '.output.txt') + expected_stdout_path = os.path.join('examples', filename + '.stdout.txt') if os.path.isfile(expected_stdout_path): with open(expected_stdout_path, 'rb') as f: @@ -95,7 +95,7 @@ def add_example_memory_leak_test(filename): '--show-reachable=yes', '--num-callers=20', '--track-fds=yes', - '--error-exitcode=666', + '--error-exitcode=42', '-q', './a.out', ],