Skip to content
This repository was archived by the owner on Apr 5, 2024. It is now read-only.

Commit 2520619

Browse files
committed
WIP: Debug why rmpv testcase fails in CI
1 parent 1246e15 commit 2520619

File tree

1 file changed

+7
-9
lines changed

1 file changed

+7
-9
lines changed

tests/full.rs

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,6 @@ mod full {
1010
};
1111

1212
fn test_full(crate_name: &str, old_version: &str, new_version: &str, expected_result: bool) {
13-
// FIXME: CI started to fail since 2022-04-25, ignore the rmpv test on CI for now.
14-
if crate_name == "rmpv" && env::var_os("CI").unwrap_or_default() == "true" {
15-
return;
16-
}
17-
1813
// Add target dir to PATH so cargo-semver will call the right rust-semverver
1914
if let Some(path) = env::var_os("PATH") {
2015
let mut paths = env::split_paths(&path).collect::<Vec<_>>();
@@ -34,16 +29,19 @@ mod full {
3429
&format!("{}:{}", crate_name, new_version),
3530
"-q",
3631
])
37-
.env("RUST_BACKTRACE", "full")
38-
.stdin(Stdio::null())
39-
.stdout(Stdio::piped())
40-
.stderr(Stdio::piped());
32+
.env("RUST_BACKTRACE", "full");
33+
// .stdin(Stdio::null())
34+
// .stdout(Stdio::piped())
35+
// .stderr(Stdio::piped());
4136

4237
if let Ok(target) = std::env::var("TEST_TARGET") {
4338
cmd.args(&["--target", &target]);
4439
}
4540

41+
eprintln!("{:?}", cmd);
42+
4643
let output = cmd.output().expect("could not run cargo semver");
44+
eprintln!("cargo semver exit status: {}", output.status);
4745

4846
// Choose solution depending on the platform
4947
let file_ext = if cfg!(target_os = "macos") {

0 commit comments

Comments
 (0)