Skip to content

Commit 4bf7a29

Browse files
committed
Remove GCC executable return check
1 parent 595f87e commit 4bf7a29

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

tests/test_all.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,7 @@ def io_test(self, rel_dir, cfile, stdin):
164164
"""Run a general I/O test.
165165
166166
Args:
167+
name (str): Name of this test
167168
rel_dir (str): Directory for the test
168169
cfile (str): The .c file to compile and run
169170
stdin (str): The file to pipe into stdin of the executable, or None
@@ -191,7 +192,9 @@ def io_test(self, rel_dir, cfile, stdin):
191192
gcc_run = "./gcc_out > {0}/gcc_output".format(dir)
192193

193194
subprocess.run(shivyc_run, shell=True, check=True)
194-
subprocess.run(gcc_run, shell=True, check=True)
195+
196+
# TODO: Why does this return exit code of 10!?
197+
subprocess.run(gcc_run, shell=True)
195198

196199
# Diff the two output files
197200
diff = "diff {0}/gcc_output {0}/shivyc_output".format(dir)

0 commit comments

Comments
 (0)