Skip to content

Commit f433bc3

Browse files
authored
Remove test_debug_asmLastOpts. NFC (#20120)
This test is for the old (pre-fastcomp I believe) compiler, that no longer exists. It was added in 3b49f69.
1 parent 30cea1a commit f433bc3

File tree

1 file changed

+0
-19
lines changed

1 file changed

+0
-19
lines changed

test/test_other.py

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -6932,25 +6932,6 @@ def build_main(args):
69326932
out = self.run_js('a.out.js')
69336933
self.assertContained('catch 42', out)
69346934

6935-
def test_debug_asmLastOpts(self):
6936-
create_file('src.c', r'''
6937-
#include <stdio.h>
6938-
struct Dtlink_t { struct Dtlink_t* right; /* right child */
6939-
union
6940-
{ unsigned int _hash; /* hash value */
6941-
struct Dtlink_t* _left; /* left child */
6942-
} hl;
6943-
};
6944-
int treecount(register struct Dtlink_t* e) {
6945-
return e ? treecount(e->hl._left) + treecount(e->right) + 1 : 0;
6946-
}
6947-
int main() {
6948-
printf("hello, world!\n");
6949-
}
6950-
''')
6951-
self.run_process([EMCC, 'src.c', '-sEXPORTED_FUNCTIONS=_main,_treecount', '--minify=0', '-gsource-map', '-Oz'])
6952-
self.assertContained('hello, world!', self.run_js('a.out.js'))
6953-
69546935
def test_emscripten_print_double(self):
69556936
create_file('src.c', r'''
69566937
#include <stdio.h>

0 commit comments

Comments
 (0)