about summary refs log tree commit diff
diff options
context:
space:
mode:
authornathanwhit <nathan.whitaker01@gmail.com>2019-09-02 12:00:55 -0400
committernathanwhit <nathan.whitaker01@gmail.com>2019-09-02 12:00:55 -0400
commitbf44f12d66b011bf14c4bbe4a652a853ef3e52cb (patch)
tree9fe1e1cea9390f11dffada2fce6f36352fe72433
parent12e0420268a3855eea981bb8907a8bbfb1cb9d9a (diff)
downloadrust-bf44f12d66b011bf14c4bbe4a652a853ef3e52cb.tar.gz
rust-bf44f12d66b011bf14c4bbe4a652a853ef3e52cb.zip
Ignore check-run-results tests for wasm32-bare
Ignores run-pass tests with the `check-run-results` flag enabled for the
wasm32-bare ("wasm32-unknown-unknown") target, as it does not support
printing to stdout/stderr.
-rw-r--r--src/tools/compiletest/src/header.rs5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/tools/compiletest/src/header.rs b/src/tools/compiletest/src/header.rs
index dcd4f14f354..3ba8cffe2b5 100644
--- a/src/tools/compiletest/src/header.rs
+++ b/src/tools/compiletest/src/header.rs
@@ -137,6 +137,11 @@ impl EarlyProps {
                    config.parse_needs_sanitizer_support(ln) {
                     props.ignore = Ignore::Ignore;
                 }
+
+                if config.target == "wasm32-unknown-unknown" && config.parse_check_run_results(ln) {
+                    props.ignore = Ignore::Ignore;
+                }
+
             }
 
             if (config.mode == common::DebugInfoGdb || config.mode == common::DebugInfoGdbLldb) &&