aboutsummaryrefslogtreecommitdiff
path: root/tests/test_core.py
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2014-02-21 09:31:24 -0800
committerAlon Zakai <alonzakai@gmail.com>2014-02-21 09:31:24 -0800
commitcb7bdc3ea72f234d333e119ecd9fdb85b55faafe (patch)
tree28e1b605af4722179b1cc3055fd27ce38b648d84 /tests/test_core.py
parente71ed8514296ab1fabfa2340b17480a60e8c9100 (diff)
parentac28698a41d8cb1eb944947abe8a5a98a9f137c0 (diff)
Merge pull request #2139 from TV4Fun/memfixes
Fix errors in locale and allocate, and a few other tweaks
Diffstat (limited to 'tests/test_core.py')
-rw-r--r--tests/test_core.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/test_core.py b/tests/test_core.py
index 733407ff..b96cbc36 100644
--- a/tests/test_core.py
+++ b/tests/test_core.py
@@ -6400,6 +6400,10 @@ def process(filename):
if os.environ.get('EMCC_FAST_COMPILER') != '1': return self.skip('this test will not pass in the old compiler')
self.do_run(open(path_from_root('tests', 'test_minmax.c')).read(), 'NAN != NAN\nSuccess!')
+ def test_locale(self):
+ if self.emcc_args is None: return self.skip('needs emcc')
+ self.do_run_from_file(path_from_root('tests', 'test_locale.c'), path_from_root('tests', 'test_locale.out'))
+
# Generate tests for everything
def make_run(fullname, name=-1, compiler=-1, embetter=0, quantum_size=0,
typed_arrays=0, emcc_args=None, env=None):