aboutsummaryrefslogtreecommitdiff
path: root/tests/runner.py
diff options
context:
space:
mode:
authorAlon Zakai <azakai@mozilla.com>2010-12-12 15:05:22 -0800
committerAlon Zakai <azakai@mozilla.com>2010-12-12 15:05:22 -0800
commit6d83c785fb2f9befb0af92f57b5c5f8e5242ba49 (patch)
treeda83e3cb3126df53ddb0aed7f45430330a0f5b07 /tests/runner.py
parent240ff2ff8e8d797740a6ee1dd534240afed6d6e5 (diff)
support for library dependencies +misc python float fixes
Diffstat (limited to 'tests/runner.py')
-rw-r--r--tests/runner.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/runner.py b/tests/runner.py
index 2e96651b..0560cc5d 100644
--- a/tests/runner.py
+++ b/tests/runner.py
@@ -1042,10 +1042,12 @@ if 'benchmark' not in sys.argv:
printf("*%%*\\n");
printf("*%.1ld*\\n", 5);
+ printf("*%.1f*\\n", strtod("66", NULL)); // checks dependency system, as our strtod needs _isspace etc.
+
return 0;
}
'''
- self.do_test(src, '*1,2,3,5,5,6*\n*stdin==0:0*\n*%*\n*5*\n*cleaned*')
+ self.do_test(src, '*1,2,3,5,5,6*\n*stdin==0:0*\n*%*\n*5*\n*66.0*\n*cleaned*')
def test_statics(self):
src = '''