Skip to content

Commit

Permalink
Remove test_debug_asmLastOpts. NFC (#20120)
Browse files Browse the repository at this point in the history
This test is for the old (pre-fastcomp I believe) compiler, that no
longer exists.

It was added in 3b49f69.
  • Loading branch information
sbc100 committed Aug 24, 2023
1 parent 30cea1a commit f433bc3
Showing 1 changed file with 0 additions and 19 deletions.
19 changes: 0 additions & 19 deletions test/test_other.py
Original file line number Diff line number Diff line change
Expand Up @@ -6932,25 +6932,6 @@ def build_main(args):
out = self.run_js('a.out.js')
self.assertContained('catch 42', out)

def test_debug_asmLastOpts(self):
create_file('src.c', r'''
#include <stdio.h>
struct Dtlink_t { struct Dtlink_t* right; /* right child */
union
{ unsigned int _hash; /* hash value */
struct Dtlink_t* _left; /* left child */
} hl;
};
int treecount(register struct Dtlink_t* e) {
return e ? treecount(e->hl._left) + treecount(e->right) + 1 : 0;
}
int main() {
printf("hello, world!\n");
}
''')
self.run_process([EMCC, 'src.c', '-sEXPORTED_FUNCTIONS=_main,_treecount', '--minify=0', '-gsource-map', '-Oz'])
self.assertContained('hello, world!', self.run_js('a.out.js'))

def test_emscripten_print_double(self):
create_file('src.c', r'''
#include <stdio.h>
Expand Down

0 comments on commit f433bc3

Please sign in to comment.