提交 00e377c1 编写于 作者: B Brian Anderson

Ignore all debuginfo tests on emscripten

上级 9c4a01ee
......@@ -431,10 +431,17 @@ pub fn make_test(config: &Config, testpaths: &TestPaths) -> test::TestDescAndFn
}
};
// Debugging emscripten code doesn't make sense today
let mut ignore = early_props.ignore;
if (config.mode == DebugInfoGdb || config.mode == DebugInfoLldb) &&
config.target.contains("emscripten") {
ignore = true;
}
test::TestDescAndFn {
desc: test::TestDesc {
name: make_test_name(config, testpaths),
ignore: early_props.ignore,
ignore: ignore,
should_panic: should_panic,
},
testfn: make_test_closure(config, testpaths),
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册