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 authored and alexcrichton committed Sep 24, 2019
1 parent b6c6f68 commit ac4d8ff
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 ac4d8ff

Please sign in to comment.