Skip to content
Snippets Groups Projects
Commit 35443610 authored by Damien George's avatar Damien George
Browse files

travis: More tests debugging.

parent 45b4cc77
No related branches found
No related tags found
No related merge requests found
l = list(range(10000))
hex(1)
try:
hex(1)
except NameError:
print("NameError")
try:
100000000 * l
except MemoryError:
......
......@@ -70,6 +70,8 @@ for test_file in tests:
rm_f(os.path.basename(test_file + ".exp"))
rm_f(os.path.basename(test_file + ".out"))
else:
print('EXP|{}|'.format(output_expected))
print('OUT|{}|'.format(output_mupy))
with open(os.path.basename(test_file + ".exp"), "w") as f:
f.write(str(output_expected, "ascii"))
with open(os.path.basename(test_file + ".out"), "w") as f:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment