diff options
author | Yu Kobayashi <yukoba@accelart.jp> | 2013-08-16 04:12:17 +0900 |
---|---|---|
committer | Yu Kobayashi <yukoba@accelart.jp> | 2013-08-16 04:12:17 +0900 |
commit | 83504a9c7f58b365b1d580620fe42f6b90191f56 (patch) | |
tree | eb3e02563775177b11d442a4989904eff168c9d1 /tests/test_core.py | |
parent | 0f76b5793a07987f17e95410af843eaa7f4eb823 (diff) |
Bug fixes of the pthread specific and a test added.
Diffstat (limited to 'tests/test_core.py')
-rw-r--r-- | tests/test_core.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/test_core.py b/tests/test_core.py index 31db6ca5..aae09a3f 100644 --- a/tests/test_core.py +++ b/tests/test_core.py @@ -4570,6 +4570,12 @@ The current type of b is: 9 ''' self.do_run(src, 'BA') + def test_pthread_specific(self): + if self.emcc_args is None: return self.skip('requires emcc') + src = open(path_from_root('tests', 'pthread', 'specific.c'), 'r').read() + expected = open(path_from_root('tests', 'pthread', 'specific.c.txt'), 'r').read() + self.do_run(src, expected, force_c=True) + def test_time(self): # XXX Not sure what the right output is here. Looks like the test started failing with daylight savings changes. Modified it to pass again. src = open(path_from_root('tests', 'time', 'src.c'), 'r').read() |