Skip to content

Commit cdfc80c

Browse files
authored
Remove test_inlinejs and test_inlinejs2. NFC (#19967)
I believe these date back to before fastcomp!
1 parent d482a46 commit cdfc80c

File tree

5 files changed

+2
-88
lines changed

5 files changed

+2
-88
lines changed

test/core/test_inlinejs.c

Lines changed: 0 additions & 34 deletions
This file was deleted.

test/core/test_inlinejs.out

Lines changed: 0 additions & 2 deletions
This file was deleted.

test/core/test_inlinejs2.c

Lines changed: 0 additions & 25 deletions
This file was deleted.

test/core/test_inlinejs2.out

Lines changed: 0 additions & 3 deletions
This file was deleted.

test/test_core.py

Lines changed: 2 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -2114,34 +2114,12 @@ def test_emscripten_has_asyncify(self):
21142114
self.set_setting('ASYNCIFY')
21152115
self.do_run(src, '1')
21162116

2117-
# TODO: test only worked in non-fastcomp
2118-
def test_inlinejs(self):
2119-
self.skipTest('non-fastcomp is deprecated and fails in 3.5') # only supports EM_ASM
2120-
2121-
self.do_core_test('test_inlinejs.c')
2122-
2123-
if self.emcc_args == []:
2124-
# opts will eliminate the comments
2125-
out = read_file('src.js')
2126-
for i in range(1, 5):
2127-
assert ('comment%d' % i) in out
2128-
2129-
# TODO: test only worked in non-fastcomp
2130-
def test_inlinejs2(self):
2131-
self.skipTest('non-fastcomp is deprecated and fails in 3.5') # only supports EM_ASM
2132-
2133-
self.do_core_test('test_inlinejs2.c')
2134-
21352117
def test_inlinejs3(self):
2136-
if self.is_wasm():
2137-
self.skipTest('wasm requires a proper asm module')
2138-
2139-
src = test_file('core/test_inlinejs3.c')
2140-
output = shared.unsuffixed(src) + '.out'
2141-
21422118
self.do_core_test('test_inlinejs3.c')
21432119

21442120
print('no debugger, check validation')
2121+
src = test_file('core/test_inlinejs3.c')
2122+
output = test_file('core/test_inlinejs3.out')
21452123
src = read_file(src).replace('emscripten_debugger();', '')
21462124
self.do_run(src, read_file(output))
21472125

0 commit comments

Comments
 (0)