about summary refs log tree commit diff
path: root/src/libstd/sys/unix/process/process_unix.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2020-05-31 19:12:00 +0000
committerbors <bors@rust-lang.org>2020-05-31 19:12:00 +0000
commit9f9877c47f5ce0529b8ebe3ed363a3b06ef9e86f (patch)
tree25c7dd3a57324ae14017eedaf124f977fbecb6c0 /src/libstd/sys/unix/process/process_unix.rs
parent9fdcb13edb4026d1058c793a553f1798c044870c (diff)
parent14e9100543166e48acd0ea00233249d2cddf09c2 (diff)
downloadrust-9f9877c47f5ce0529b8ebe3ed363a3b06ef9e86f.tar.gz
rust-9f9877c47f5ce0529b8ebe3ed363a3b06ef9e86f.zip
Auto merge of #5662 - ebroto:cargo_tests_invalid_crate, r=flip1995
cargo-ui tests: check that <dir>/src exists before processing test

I forgot that I had fixed this in a PR I closed some days ago (#5643).

Before this change, cargo UI tests could fail when switching between branches if the previous branch had a test that the current branch does not have. The directory is not removed when switching because an ignored `Cargo.lock` file exists, and the code was trying to reach `$DIR/src` unconditionally.

This change will just skip a directory that has no `src` subdirectory.

changelog: none
Diffstat (limited to 'src/libstd/sys/unix/process/process_unix.rs')
0 files changed, 0 insertions, 0 deletions