Skip to content

Commit

Permalink
Drop check for mingw32-make.
Browse files Browse the repository at this point in the history
From what I can tell, it is no longer necessary on GitHub Actions.
This removes it to help simplify things.
  • Loading branch information
ehuss committed Jul 31, 2022
1 parent 7858beb commit 35a6dee
Showing 1 changed file with 3 additions and 21 deletions.
24 changes: 3 additions & 21 deletions tests/testsuite/jobserver.rs
Original file line number Diff line number Diff line change
Expand Up @@ -58,17 +58,8 @@ fn jobserver_exists() {
p.cargo("build -j2").run();
}

#[cargo_test]
#[cargo_test(requires_make)]
fn makes_jobserver_used() {
let make = if cfg!(windows) {
"mingw32-make"
} else {
"make"
};
if !is_ci() && Command::new(make).arg("--version").output().is_err() {
return;
}

let p = project()
.file(
"Cargo.toml",
Expand Down Expand Up @@ -162,7 +153,7 @@ all:
drop((a2, a3));
});

p.process(make)
p.process("make")
.env("CARGO", cargo_exe())
.env("ADDR", addr.to_string())
.arg("-j2")
Expand All @@ -172,15 +163,6 @@ all:

#[cargo_test]
fn jobserver_and_j() {
let make = if cfg!(windows) {
"mingw32-make"
} else {
"make"
};
if !is_ci() && Command::new(make).arg("--version").output().is_err() {
return;
}

let p = project()
.file("src/lib.rs", "")
.file(
Expand All @@ -192,7 +174,7 @@ all:
)
.build();

p.process(make)
p.process("make")
.env("CARGO", cargo_exe())
.arg("-j2")
.with_stderr(
Expand Down

0 comments on commit 35a6dee

Please sign in to comment.