]> git.lizzy.rs Git - rust.git/commitdiff
Test fixes
authorAlex Crichton <alex@alexcrichton.com>
Fri, 23 Mar 2018 14:46:20 +0000 (07:46 -0700)
committerAlex Crichton <alex@alexcrichton.com>
Fri, 23 Mar 2018 18:37:42 +0000 (11:37 -0700)
src/test/run-pass/rfc-2151-raw-identifiers/attr.rs
src/test/run-pass/rfc-2151-raw-identifiers/basic.rs
src/test/run-pass/rfc-2151-raw-identifiers/items.rs
src/test/run-pass/rfc-2151-raw-identifiers/macros.rs
src/tools/compiletest/src/runtest.rs

index 6cea75cf1d11e9a83daa59481c62a90d8f60d9cf..3566babaf4cbd99c50daa1555c917a9976c060db 100644 (file)
@@ -8,6 +8,8 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
+// ignore-pretty
+
 #![feature(raw_identifiers)]
 
 use std::mem;
index 5d495c4e9e557eca33006318ca3ffd6af05b9bd7..bd1f52a9b24e0851d0ec98432d620dc8d061654f 100644 (file)
@@ -8,6 +8,8 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
+// ignore-pretty
+
 #![feature(raw_identifiers)]
 
 fn r#fn(r#match: u32) -> u32 {
index 256bd263d38d42c1d5c182310ccbdf50c48e4518..5fdc13df8dcb28bb900b1dc7b698758a2ad585bd 100644 (file)
@@ -8,6 +8,8 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
+// ignore-pretty
+
 #![feature(raw_identifiers)]
 
 #[derive(Debug, PartialEq, Eq)]
index 4bd16ded52fbdf6b39ba4e5d86aaa8deadd7207f..82d44c57e181b21468aff6a503feefe0de4ae3d0 100644 (file)
@@ -8,6 +8,8 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
+// ignore-pretty
+
 #![feature(decl_macro)]
 #![feature(raw_identifiers)]
 
index 93b1b1f08e63fc77d93405f6b091778c2597f950..e826c5366a81f736828b5f12496815e130eb4fb4 100644 (file)
@@ -2426,7 +2426,7 @@ fn run_rmake_test(&self) {
         // compiler flags set in the test cases:
         cmd.env_remove("RUSTFLAGS");
 
-        if self.config.target.contains("msvc") {
+        if self.config.target.contains("msvc") && self.config.cc != "" {
             // We need to pass a path to `lib.exe`, so assume that `cc` is `cl.exe`
             // and that `lib.exe` lives next to it.
             let lib = Path::new(&self.config.cc).parent().unwrap().join("lib.exe");