travis: More tests debugging.

pull/496/head
Damien George 2014-04-15 11:38:30 +01:00
rodzic 45b4cc77dd
commit 35443610b1
2 zmienionych plików z 6 dodań i 1 usunięć

Wyświetl plik

@ -1,5 +1,8 @@
l = list(range(10000))
hex(1)
try:
hex(1)
except NameError:
print("NameError")
try:
100000000 * l
except MemoryError:

Wyświetl plik

@ -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: