Skip to content

Commit a7d82d6

Browse files
felixcalexcrichton
authored andcommitted
---
yaml --- r: 106491 b: refs/heads/try c: e3a251a h: refs/heads/master i: 106489: 18e274b 106487: f5551a5 v: v3
1 parent f9206b5 commit a7d82d6

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
refs/heads/master: b8ef9fd9c9f642ce7b8aed82782a1ed745d08d64
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: b8601a3d8b91ad3b653d143307611f2f5c75617e
5-
refs/heads/try: cdc5729ea2dc98f83c9a88ce7aa0f52ba5a606e6
5+
refs/heads/try: e3a251a41021ae0f8c0d97235d9da9d38e0d9f4a
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
88
refs/heads/try2: 147ecfdd8221e4a4d4e090486829a06da1e0ca3c

branches/try/src/librustdoc/test.rs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
// except according to those terms.
1010

1111
use std::cell::RefCell;
12+
use std::io;
1213
use std::io::Process;
1314
use std::local_data;
1415
use std::os;
@@ -128,7 +129,10 @@ fn runtest(test: &str, cratename: &str, libs: HashSet<Path>, should_fail: bool)
128129
let exe = outdir.path().join("rust_out");
129130
let out = Process::output(exe.as_str().unwrap(), []);
130131
match out {
131-
Err(e) => fail!("couldn't run the test: {}", e),
132+
Err(e) => fail!("couldn't run the test: {}{}", e,
133+
if e.kind == io::PermissionDenied {
134+
" - maybe your tempdir is mounted with noexec?"
135+
} else { "" }),
132136
Ok(out) => {
133137
if should_fail && out.status.success() {
134138
fail!("test executable succeeded when it should have failed");

0 commit comments

Comments
 (0)