aboutsummaryrefslogtreecommitdiff
path: root/tests/runner.py
diff options
context:
space:
mode:
authorAlon Zakai <azakai@mozilla.com>2010-12-17 20:57:13 -0800
committerAlon Zakai <azakai@mozilla.com>2010-12-17 20:57:13 -0800
commit58e445e6e114b0ee547f4edcf1a641a0ca6d2879 (patch)
treea9a969ab3741a7b6fd555dd08aaf7c49cc1c7f17 /tests/runner.py
parent6cd6131d086295438df517d6f9cd7a315253097d (diff)
fix format bug with floats
Diffstat (limited to 'tests/runner.py')
-rw-r--r--tests/runner.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/runner.py b/tests/runner.py
index 0560cc5d..ecb1998b 100644
--- a/tests/runner.py
+++ b/tests/runner.py
@@ -1248,8 +1248,8 @@ if 'benchmark' not in sys.argv:
global RELOOP; RELOOP = 0 # Too slow; we do care about typed arrays and OPTIMIZE though
global SAFE_HEAP; SAFE_HEAP = 0 # Has bitfields etc.
self.do_ll_test(path_from_root(['tests', 'python', 'python.ll']),
- 'hello python world!\n\n[0, 2, 4, 6]\n\n5\n',
- args=['-S', '-c' '''print "hello python world!"; print [x*2 for x in range(4)]; t=2; print 10-3-t'''],
+ 'hello python world!\n\n[0, 2, 4, 6]\n\n5\n\n5.470',
+ args=['-S', '-c' '''print "hello python world!"; print [x*2 for x in range(4)]; t=2; print 10-3-t; print '%f' % 5.47'''],
js_engines=[V8_ENGINE]) # script stack space exceeded in SpiderMonkey, TODO
### Test cases in separate files