aboutsummaryrefslogtreecommitdiff
path: root/tests/test_core.py
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2014-04-09 17:30:44 -0700
committerAlon Zakai <alonzakai@gmail.com>2014-04-09 17:30:44 -0700
commite2811fed826db20a10af7f70ac44f1aad9f06aa5 (patch)
tree1547479e45b6dd790d57d2d4b765117dc2a60b2e /tests/test_core.py
parent0fa67a6cdc857afd269612117380d0df7ab54b4e (diff)
start on c++11 atomics implementation and test; #2273
Diffstat (limited to 'tests/test_core.py')
-rw-r--r--tests/test_core.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/test_core.py b/tests/test_core.py
index d5b855b9..a3712de2 100644
--- a/tests/test_core.py
+++ b/tests/test_core.py
@@ -4420,7 +4420,13 @@ PORT: 3979
def test_atomic(self):
test_path = path_from_root('tests', 'core', 'test_atomic')
src, output = (test_path + s for s in ('.in', '.out'))
+ self.do_run_from_file(src, output)
+ def zzztest_atomic_cxx(self):
+ if self.emcc_args is None: return self.skip('needs emcc')
+ test_path = path_from_root('tests', 'core', 'test_atomic_cxx')
+ src, output = (test_path + s for s in ('.cpp', '.txt'))
+ Building.COMPILER_TEST_OPTS += ['-std=c++11']
self.do_run_from_file(src, output)
def test_phiundef(self):