travis: More tests debugging.
This commit is contained in:
parent
45b4cc77dd
commit
35443610b1
@ -1,5 +1,8 @@
|
||||
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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user