Skip to content

Commit

Permalink
Fix test_emcc_debug_files after emscripten-core#21099 (emscripten-cor…
Browse files Browse the repository at this point in the history
  • Loading branch information
sbc100 authored Jan 18, 2024
1 parent 5b52e0a commit fa47840
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions test/test_other.py
Original file line number Diff line number Diff line change
Expand Up @@ -2701,10 +2701,9 @@ def test_emcc_debug_files(self):
self.run_process([EMCC, test_file('hello_world.c'), '-O' + str(opts)], stderr=PIPE)
if debug is None:
self.assertFalse(os.path.exists(self.canonical_temp_dir))
elif debug == '1':
self.assertExists(os.path.join(self.canonical_temp_dir, 'emcc-4-original.js'))
elif debug == '2':
self.assertExists(os.path.join(self.canonical_temp_dir, 'emcc-4-original.js'))
else:
print(sorted(os.listdir(self.canonical_temp_dir)))
self.assertExists(os.path.join(self.canonical_temp_dir, 'emcc-3-original.js'))

def test_debuginfo_line_tables_only(self):
def test(do_compile):
Expand Down

0 comments on commit fa47840

Please sign in to comment.