Skip to content

Commit

Permalink
Fix integration tests waiting for binaries to finish.
Browse files Browse the repository at this point in the history
Integration tests were waiting for binaries to finish building due to a minor
logic error.
  • Loading branch information
ehuss committed Sep 20, 2019
1 parent 7ab4778 commit 2e9c47b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cargo/core/compiler/job_queue.rs
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ impl<'a, 'cfg> JobQueue<'a, 'cfg> {
.filter(|unit| {
// Binaries aren't actually needed to *compile* tests, just to run
// them, so we don't include this dependency edge in the job graph.
!unit.target.is_test() || !unit.target.is_bin()
!unit.target.is_test() && !unit.target.is_bin()
})
.map(|dep| {
// Handle the case here where our `unit -> dep` dependency may
Expand Down

0 comments on commit 2e9c47b

Please sign in to comment.