diff options
author | David Barksdale <amatus.amongus@gmail.com> | 2013-06-11 20:37:13 -0500 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2013-06-17 17:01:55 -0700 |
commit | 1326270ce8fc81825fa39d8db235bd3a47a9900d (patch) | |
tree | dcec5b35ab869c8abd35f29126311534e0ee5a8a /tests/runner.py | |
parent | f602fe5f6fcabc7e09ee474a21f45741835158bb (diff) |
Added test for float.h agreeing with sizeof.
Diffstat (limited to 'tests/runner.py')
-rwxr-xr-x | tests/runner.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/runner.py b/tests/runner.py index 04baf47b..b974be78 100755 --- a/tests/runner.py +++ b/tests/runner.py @@ -3982,6 +3982,11 @@ Exiting setjmp function, level: 0, prev_jmp: -1 ''' self.do_run(src, '*2,2,5,8,8***8,8,5,8,8***7,2,6,990,7,2*', [], lambda x, err: x.replace('\n', '*')) + def test_float_h(self): + process = Popen([PYTHON, EMCC, path_from_root('tests', 'float+.c')], stdout=PIPE, stderr=PIPE) + process.communicate() + assert process.returncode is 0, 'float.h should agree with our system' + def test_emscripten_api(self): #if Settings.MICRO_OPTS or Settings.RELOOP or Building.LLVM_OPTS: return self.skip('FIXME') |