aboutsummaryrefslogtreecommitdiff
path: root/tests/test_other.py
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2013-12-14 13:41:08 -0800
committerAlon Zakai <alonzakai@gmail.com>2013-12-14 13:41:08 -0800
commit4f847c0568e74d629b5b8c5fd3c1651e0ef88780 (patch)
treeff4e934d0ae2a15d82dabb1bc36c0013330b789d /tests/test_other.py
parent1630c9af4f31f1ef3611db1250f7887514665785 (diff)
test changes for fastcomp
Diffstat (limited to 'tests/test_other.py')
-rw-r--r--tests/test_other.py5
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
+