Skip to content

Commit 00e377c

Browse files
committed
Ignore all debuginfo tests on emscripten
1 parent 9c4a01e commit 00e377c

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

src/tools/compiletest/src/main.rs

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -431,10 +431,17 @@ pub fn make_test(config: &Config, testpaths: &TestPaths) -> test::TestDescAndFn
431431
}
432432
};
433433

434+
// Debugging emscripten code doesn't make sense today
435+
let mut ignore = early_props.ignore;
436+
if (config.mode == DebugInfoGdb || config.mode == DebugInfoLldb) &&
437+
config.target.contains("emscripten") {
438+
ignore = true;
439+
}
440+
434441
test::TestDescAndFn {
435442
desc: test::TestDesc {
436443
name: make_test_name(config, testpaths),
437-
ignore: early_props.ignore,
444+
ignore: ignore,
438445
should_panic: should_panic,
439446
},
440447
testfn: make_test_closure(config, testpaths),

0 commit comments

Comments
 (0)