Commit 7347918
committed
test: redact host target when comparing
This was found when updating git submodule in rust-lang/rust
```
---- test::cargo_test_env stdout ----
running `/Users/weihanglo/dev/rust/build/aarch64-apple-darwin/stage2-tools/aarch64-apple-darwin/release/cargo test --lib -- --nocapture`
thread 'test::cargo_test_env' panicked at tests/testsuite/test.rs:3904:10:
test failed running `/Users/weihanglo/dev/rust/build/aarch64-apple-darwin/stage2-tools/aarch64-apple-darwin/release/cargo test --lib -- --nocapture`
error: expected to find:
/Users/weihanglo/dev/rust/build/aarch64-apple-darwin/stage2-tools/aarch64-apple-darwin/release/cargo
did not find in output:
[COMPILING] foo v0.5.0 ([ROOT]/foo)
[FINISHED] `test` profile [unoptimized + debuginfo] target(s) in [ELAPSED]s
[RUNNING] unittests src/lib.rs (target/debug/deps/foo-[HASH])
/Users/weihanglo/dev/rust/build/[HOST_TARGET]/stage2-tools/[HOST_TARGET]/release/cargo
```CARGO_ENV path1 parent c03c580 commit 7347918
1 file changed
+10
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3870 | 3870 | | |
3871 | 3871 | | |
3872 | 3872 | | |
| 3873 | + | |
3873 | 3874 | | |
3874 | 3875 | | |
3875 | 3876 | | |
| |||
3896 | 3897 | | |
3897 | 3898 | | |
3898 | 3899 | | |
| 3900 | + | |
3899 | 3901 | | |
3900 | 3902 | | |
3901 | 3903 | | |
| |||
3911 | 3913 | | |
3912 | 3914 | | |
3913 | 3915 | | |
3914 | | - | |
| 3916 | + | |
| 3917 | + | |
| 3918 | + | |
| 3919 | + | |
| 3920 | + | |
| 3921 | + | |
| 3922 | + | |
| 3923 | + | |
3915 | 3924 | | |
3916 | 3925 | | |
3917 | 3926 | | |
| |||
0 commit comments