diff --git a/src/Makefile b/src/Makefile index 390f91733c444..70b3ca0f53d68 100644 --- a/src/Makefile +++ b/src/Makefile @@ -574,7 +574,7 @@ TEST_XFAILS_RUSTC := $(addprefix test/run-pass/, \ while-type-error.rs \ wrong-ret-type.rs \ ), \ - $(wildcard test/*/*.rs test/*/*.rc)) + $(wildcard test/*fail/*.rs test/*fail/*.rc)) ifdef MINGW_CROSS