diff options
Diffstat (limited to 'tests/test_other.py')
-rw-r--r-- | tests/test_other.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/test_other.py b/tests/test_other.py index b10ae13b..46170856 100644 --- a/tests/test_other.py +++ b/tests/test_other.py @@ -2150,3 +2150,8 @@ mergeInto(LibraryManager.library, { Popen([PYTHON, EMCC, path_from_root('tests', 'hello_world.cpp'), '--js-library', 'lib.js']).communicate() self.assertContained('hello, world!', run_js(os.path.join(self.get_dir(), 'a.out.js'))) + def test_float_h(self): + process = Popen([PYTHON, EMCC, path_from_root('tests', 'float+.c')], stdout=PIPE, stderr=PIPE) + out, err = process.communicate() + assert process.returncode is 0, 'float.h should agree with our system: ' + out + '\n\n\n' + err + |