aboutsummaryrefslogtreecommitdiff
path: root/tests
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
parent240ff2ff8e8d797740a6ee1dd534240afed6d6e5 (diff)
support for library dependencies +misc python float fixes
Diffstat (limited to 'tests')
-rw-r--r--tests/python/readme.txt2
-rw-r--r--tests/runner.py4
2 files changed, 5 insertions, 1 deletions
diff --git a/tests/python/readme.txt b/tests/python/readme.txt
index 5481414a..e8875955 100644
--- a/tests/python/readme.txt
+++ b/tests/python/readme.txt
@@ -7,6 +7,8 @@ This is Python 2.7.1, compiled to .ll as follows:
EDIT pyconfig.h (in ./bin), remove
HAVE_GCC_ASM_FOR_X87
HAVE_SIG* except SIGNAL_H
+ and *add*
+ #define PY_NO_SHORT_FLOAT_REPR
make
...it will fail, but can continue manually
cd pylibs
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 = '''