aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormax99x <max99x@gmail.com>2011-08-27 05:28:46 +0300
committermax99x <max99x@gmail.com>2011-08-27 05:28:46 +0300
commit46222e286058a6d425c0563522d54ee5299a7cd0 (patch)
treedd6843c75ce2349cb01e30e09058a50da82bed86
parent67e4662ac91d5b514a96957d00b0a8db69bfcf65 (diff)
Disabled tests that are now incompatible with _t2;
Disabled test_dlfcn_varargs on _q1; expected failure.
-rw-r--r--tests/runner.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/runner.py b/tests/runner.py
index d3d483de..8fd090f0 100644
--- a/tests/runner.py
+++ b/tests/runner.py
@@ -1588,6 +1588,9 @@ if 'benchmark' not in sys.argv:
self.do_test(src, '*cheez: 0+24*\n*cheez: 0+24*\n*albeit*\n*albeit*\nQ85*\nmaxxi:21*\nmaxxD:22.10*\n')
def test_stdlibs(self):
+ if USE_TYPED_ARRAYS == 2:
+ # Typed arrays = 2 + safe heap prints a warning that messes up our output.
+ global SAFE_HEAP; SAFE_HEAP = 0
src = '''
#include <stdio.h>
#include <stdlib.h>
@@ -1640,6 +1643,7 @@ if 'benchmark' not in sys.argv:
self.do_test(src, '*1,2,3,5,5,6*\n*stdin==0:0*\n*%*\n*5*\n*66.0*\n*10*\n*0*\n*-10*\n*18*\n*10*\n*0*\n*4294967286*\n*cleaned*')
def test_time(self):
+ if USE_TYPED_ARRAYS == 2: return self.skip() # Typed arrays = 2 truncate i64s.
src = open(path_from_root('tests', 'time', 'src.c'), 'r').read()
expected = open(path_from_root('tests', 'time', 'output.txt'), 'r').read()
self.do_test(src, expected)
@@ -2093,6 +2097,7 @@ if 'benchmark' not in sys.argv:
INCLUDE_FULL_LIBRARY = 0
def test_dlfcn_varargs(self):
+ if QUANTUM_SIZE == 1: return self.skip() # FIXME: Add support for this
global BUILD_AS_SHARED_LIB, EXPORTED_FUNCTIONS
lib_src = r'''
void print_ints(int n, ...);
@@ -2189,6 +2194,7 @@ if 'benchmark' not in sys.argv:
self.do_test(src, re.sub(r'(^|\n)\s+', r'\1', expected))
def test_strtod(self):
+ if USE_TYPED_ARRAYS == 2: return self.skip() # Typed arrays = 2 truncate doubles.
src = r'''
#include <stdio.h>
#include <stdlib.h>