@@ -11037,21 +11037,6 @@ def test_signature_mismatch(self):
1103711037 self.expect_fail([EMCC, '-Wl,--fatal-warnings', 'a.c', 'b.c'])
1103811038 self.expect_fail([EMCC, '-sSTRICT', 'a.c', 'b.c'])
1103911039
11040- # TODO(sbc): Remove these tests once we remove the LLD_REPORT_UNDEFINED
11041- def test_lld_report_undefined(self):
11042- create_file('main.c', 'void foo(); int main() { foo(); return 0; }')
11043- stderr = self.expect_fail([EMCC, '-sLLD_REPORT_UNDEFINED=0', 'main.c'])
11044- self.assertContained('error: undefined symbol: foo (referenced by top-level compiled C/C++ code)', stderr)
11045-
11046- def test_lld_report_undefined_reverse_deps(self):
11047- self.run_process([EMCC, '-sLLD_REPORT_UNDEFINED=0', '-sREVERSE_DEPS=all', test_file('hello_world.c')])
11048-
11049- def test_lld_report_undefined_exceptions(self):
11050- self.run_process([EMXX, '-sLLD_REPORT_UNDEFINED=0', '-fwasm-exceptions', test_file('hello_libcxx.cpp')])
11051-
11052- def test_lld_report_undefined_main_module(self):
11053- self.run_process([EMCC, '-sLLD_REPORT_UNDEFINED=0', '-sMAIN_MODULE=2', test_file('hello_world.c')])
11054-
1105511040 # Verifies that warning messages that Closure outputs are recorded to console
1105611041 def test_closure_warnings(self):
1105711042 # Default should be no warnings
0 commit comments