aboutsummaryrefslogtreecommitdiff
path: root/tests/runner.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/runner.py')
-rw-r--r--tests/runner.py23
1 files changed, 9 insertions, 14 deletions
diff --git a/tests/runner.py b/tests/runner.py
index aeb93429..90ce7d42 100644
--- a/tests/runner.py
+++ b/tests/runner.py
@@ -3087,9 +3087,11 @@ if 'benchmark' not in str(sys.argv):
#build_ll_hook=self.do_autodebug)
def test_sqlite(self):
- global QUANTUM_SIZE, OPTIMIZE, RELOOP
- if QUANTUM_SIZE == 1 or OPTIMIZE or RELOOP: return self.skip('TODO FIXME')
+ global QUANTUM_SIZE, OPTIMIZE, RELOOP, USE_TYPED_ARRAYS
+ if QUANTUM_SIZE == 1 or USE_TYPED_ARRAYS == 2: return self.skip('TODO FIXME')
+ RELOOP = 0 # too slow
+ #global AUTO_OPTIMIZE; AUTO_OPTIMIZE = 1
global CORRECT_SIGNS; CORRECT_SIGNS = 1
global CORRECT_OVERFLOWS; CORRECT_OVERFLOWS = 1
global CORRECT_ROUNDINGS; CORRECT_ROUNDINGS = 1
@@ -3114,21 +3116,14 @@ if 'benchmark' not in str(sys.argv):
#define SQLITE_DISABLE_LFS
#define LONGDOUBLE_TYPE double
#define SQLITE_INT64_TYPE int
+ #define SQLITE_THREADSAFE 0
''' + open(path_from_root('tests', 'sqlite', 'sqlite3.c'), 'r').read() +
- open(path_from_root('tests', 'sqlite', 'test.c'), 'r').read(),
- #open(path_from_root('tests', 'sqlite', 'benchmark.c'), 'r').read(),
- '''count(*) = 2
-
-a = 1
-b = 13153
-c = thirteen thousand one hundred fifty three
-
-a = 1
-b = 987
-c = some other number''',
+ open(path_from_root('tests', 'sqlite', 'benchmark.c'), 'r').read(),
+ open(path_from_root('tests', 'sqlite', 'benchmark.txt'), 'r').read(),
includes=[path_from_root('tests', 'sqlite')],
force_c=True,
- post_build=post)# ,build_ll_hook=self.do_autodebug)
+ extra_emscripten_args=['-m'],
+ post_build=post)#,build_ll_hook=self.do_autodebug)
def test_zlib(self):
global CORRECT_SIGNS; CORRECT_SIGNS = 1