diff options
| author | bors <bors@rust-lang.org> | 2020-02-10 16:02:30 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2020-02-10 16:02:30 +0000 |
| commit | 63f818e67dd4a0365d1dc41b21b50b9cf2d16186 (patch) | |
| tree | 835b2f27b934bd1b6b4257413b1b6f0f3804e405 /src/test/incremental/thinlto | |
| parent | c066807a70272a6fa9541b5cf878ef756ace2b5b (diff) | |
| parent | c86c09b19a7db3749c2c43a9fa964aa45ac13af1 (diff) | |
| download | rust-63f818e67dd4a0365d1dc41b21b50b9cf2d16186.tar.gz rust-63f818e67dd4a0365d1dc41b21b50b9cf2d16186.zip | |
Auto merge of #5151 - flip1995:fix_run_pass_tests, r=flip1995
Fix run-pass tests when CARGO_TARGET_DIR is not set
r? @lzutao
I got
```
thread '[ui] ui/crashes/ice-1969.rs' panicked at 'failed to exec `"target/debug/test_build_base/crashes/ice-1969.stage-id"`: Os { code: 2, kind: NotFound, message: "No such file or directory" }', /home/pkrones/.cargo/registry/src/github.com-1ecc6299db9ec823/compiletest_rs-0.4.0/src/runtest.rs:1350:25
```
on tests with `// run-pass` locally. The reason for this is, that I haven't set `CARGO_TARGET_DIR` and then `"target"` was used as the `CARGO_TARGET_DIR`. It seems, that `compiletest-rs` cannot deal with relative paths for `// run-pass` tests.
changelog: none
Diffstat (limited to 'src/test/incremental/thinlto')
0 files changed, 0 insertions, 0 deletions
