From f433bc3b47722139b294db2fb11c02d8c9af4aa0 Mon Sep 17 00:00:00 2001 From: Sam Clegg Date: Thu, 24 Aug 2023 13:26:48 -0700 Subject: [PATCH] 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 3b49f69930b1ecea44002c934165ac11c7639b44. --- test/test_other.py | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/test/test_other.py b/test/test_other.py index 9868cb2f555a..3d24d91ee8d2 100644 --- a/test/test_other.py +++ b/test/test_other.py @@ -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 -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