|
19 | 19 | raise Exception('do not run this file directly; do something like: test/runner')
|
20 | 20 |
|
21 | 21 | from tools.shared import PIPE
|
22 |
| -from tools.shared import EMCC, EMAR, EMXX, FILE_PACKAGER, LLVM_PROFDATA, LLVM_COV |
| 22 | +from tools.shared import EMCC, EMAR, EMXX, FILE_PACKAGER, LLVM_PROFDATA, LLVM_COV |
23 | 23 | from tools.utils import WINDOWS, MACOS, LINUX, write_file, delete_file
|
24 | 24 | from tools import shared, building, config, utils, webassembly
|
25 | 25 | import common
|
@@ -9594,7 +9594,7 @@ def test_fcoverage_mapping(self):
|
9594 | 9594 | self.assertExists('default.profraw')
|
9595 | 9595 | self.run_process([LLVM_PROFDATA, 'merge', '-sparse', 'default.profraw', '-o', 'out.profdata'])
|
9596 | 9596 | self.assertExists('out.profdata')
|
9597 |
| - self.assertEquals(expected, self.run_process([LLVM_COV, 'show', 'test_hello_world.wasm', '-instr-profile=out.profdata'], stdout=PIPE).stdout) |
| 9597 | + self.assertEqual(expected, self.run_process([LLVM_COV, 'show', 'test_hello_world.wasm', '-instr-profile=out.profdata'], stdout=PIPE).stdout) |
9598 | 9598 |
|
9599 | 9599 | @node_pthreads
|
9600 | 9600 | @flaky('https://github.com/emscripten-core/emscripten/issues/20067')
|
|
0 commit comments