aboutsummaryrefslogtreecommitdiff
path: root/tests/test_core.py
diff options
context:
space:
mode:
authorJoel Croteau <jcroteau@gmail.com>2014-02-19 23:18:31 -0800
committerJoel Croteau <jcroteau@gmail.com>2014-02-19 23:18:31 -0800
commit52b31846e442da6d2243defe39cd988568dd93ba (patch)
tree62cbea98b747d445f1955cfb5382b15d9e70fbfc /tests/test_core.py
parenta28fad120298fee2b120c47aa0b6d29bf3ff0830 (diff)
Formatting fix and add test
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 e598655d..1a22bab3 100644
--- a/tests/test_core.py
+++ b/tests/test_core.py
@@ -6402,6 +6402,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):