aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2014-03-25 17:55:34 -0700
committerAlon Zakai <alonzakai@gmail.com>2014-03-25 17:55:34 -0700
commit78d5d9c1e1db669839cd17a0df01b69af67539f6 (patch)
treeb9bc79913b512b37904f0748fe6730783b9d1387 /tests
parent135a906d9996bd93e3aa6764943a754dd3668651 (diff)
let emcc directly access bitcode files when possible, to emit proper .d files and avoid unnecessary copies
Diffstat (limited to 'tests')
-rw-r--r--tests/test_other.py17
1 files changed, 0 insertions, 17 deletions
diff --git a/tests/test_other.py b/tests/test_other.py
index 9146888c..93cd9796 100644
--- a/tests/test_other.py
+++ b/tests/test_other.py
@@ -1978,23 +1978,6 @@ seeked= file.
code = open('a.out.js').read()
assert 'SAFE_HEAP' in code, 'valid -s option had an effect'
- def test_jcache_printf(self):
- open(self.in_dir('src.cpp'), 'w').write(r'''
- #include <stdio.h>
- #include <stdint.h>
- #include <emscripten.h>
- int main() {
- emscripten_jcache_printf("hello world\n");
- emscripten_jcache_printf("hello %d world\n", 5);
- emscripten_jcache_printf("hello %.3f world\n", 123.456789123);
- emscripten_jcache_printf("hello %llx world\n", 0x1234567811223344ULL);
- return 0;
- }
- ''')
- Popen([PYTHON, EMCC, self.in_dir('src.cpp')]).communicate()
- output = run_js('a.out.js')
- self.assertIdentical('hello world\nhello 5 world\nhello 123.457 world\nhello 1234567811223300 world\n', output)
-
def test_conftest_s_flag_passing(self):
open(os.path.join(self.get_dir(), 'conftest.c'), 'w').write(r'''
int main() {