Tim_one's change to aggressively overallocate nodes when adding child

nodes (in Parser/node.c) resolves the gross memory consumption
exhibited by the EMX runtime on OS/2, so the test should be exercised
on this platform.
This commit is contained in:
Andrew MacIntyre 2002-07-15 12:03:19 +00:00
parent 58cf361e35
commit 754140e163
1 changed files with 2 additions and 9 deletions

View File

@ -1,12 +1,5 @@
# this test has a malloc problem on OS/2+EMX, so skip test in that environment
import sys
from test_support import TestFailed, TestSkipped
REPS = 65580 REPS = 65580
if sys.platform == "os2emx": l = eval("[" + "2," * REPS + "]")
raise TestFailed, "OS/2+EMX port has malloc problems with long expressions" print len(l)
else:
l = eval("[" + "2," * REPS + "]")
print len(l)