From 2a24e97c80d5004cd1b57cb96a0bde6fe43a848d Mon Sep 17 00:00:00 2001 From: Florian Hahn Date: Mon, 9 Feb 2015 20:01:45 +0100 Subject: Return nonzero exit code if there are errors at a stop point --- src/test/parse-fail/mod_file_not_exist.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/test/parse-fail/mod_file_not_exist.rs') diff --git a/src/test/parse-fail/mod_file_not_exist.rs b/src/test/parse-fail/mod_file_not_exist.rs index bbf2152d5b7..7736394a6f5 100644 --- a/src/test/parse-fail/mod_file_not_exist.rs +++ b/src/test/parse-fail/mod_file_not_exist.rs @@ -8,6 +8,8 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// compile-flags: -Z parse-only + mod not_a_real_file; //~ ERROR file not found for module `not_a_real_file` //~^ HELP name the file either not_a_real_file.rs or not_a_real_file/mod.rs inside the directory -- cgit 1.4.1-3-g733a5