Skip to content

Commit 0e6cd8b

Browse files
committed
Test fixes
1 parent 3ebe12e commit 0e6cd8b

File tree

5 files changed

+9
-1
lines changed

5 files changed

+9
-1
lines changed

src/test/run-pass/rfc-2151-raw-identifiers/attr.rs

+2
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11+
// ignore-pretty
12+
1113
#![feature(raw_identifiers)]
1214

1315
use std::mem;

src/test/run-pass/rfc-2151-raw-identifiers/basic.rs

+2
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11+
// ignore-pretty
12+
1113
#![feature(raw_identifiers)]
1214

1315
fn r#fn(r#match: u32) -> u32 {

src/test/run-pass/rfc-2151-raw-identifiers/items.rs

+2
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11+
// ignore-pretty
12+
1113
#![feature(raw_identifiers)]
1214

1315
#[derive(Debug, PartialEq, Eq)]

src/test/run-pass/rfc-2151-raw-identifiers/macros.rs

+2
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11+
// ignore-pretty
12+
1113
#![feature(decl_macro)]
1214
#![feature(raw_identifiers)]
1315

src/tools/compiletest/src/runtest.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -2426,7 +2426,7 @@ impl<'test> TestCx<'test> {
24262426
// compiler flags set in the test cases:
24272427
cmd.env_remove("RUSTFLAGS");
24282428

2429-
if self.config.target.contains("msvc") {
2429+
if self.config.target.contains("msvc") && self.config.cc != "" {
24302430
// We need to pass a path to `lib.exe`, so assume that `cc` is `cl.exe`
24312431
// and that `lib.exe` lives next to it.
24322432
let lib = Path::new(&self.config.cc).parent().unwrap().join("lib.exe");

0 commit comments

Comments
 (0)