diff options
author | Alon Zakai <alonzakai@gmail.com> | 2013-08-26 10:53:21 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2013-08-26 10:53:21 -0700 |
commit | 70d3a36274858ce8ed071036fb1903e02d606663 (patch) | |
tree | a30d0cc44a06f2b2e2548df1ac7187ce21ded173 /tests/test_core.py | |
parent | fc56aa8d28bbc5ef66a0a5f21c12892f320098b7 (diff) | |
parent | 83504a9c7f58b365b1d580620fe42f6b90191f56 (diff) |
Merge pull request #1525 from yukoba/pthread-specific
Bug fixes of pthread specific
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 7eff0d2f..7c5b651f 100644 --- a/tests/test_core.py +++ b/tests/test_core.py @@ -4664,6 +4664,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() |