diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/python/readme.txt | 2 | ||||
-rw-r--r-- | tests/runner.py | 4 |
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 = ''' |