update: auto distinguish boards to retest

- automatically print
This commit is contained in:
Wataru Otsubo 2024-07-25 20:07:28 +09:00
parent 79e7291031
commit ae29be2daa
4 changed files with 93 additions and 3 deletions

View file

@ -19,7 +19,7 @@ mod integrated_test {
let mut cmd = Command::cargo_bin("psb-qaqc")?;
cmd.current_dir("tests")
.arg("add-master-log")
.arg("./example_logs/valid/7.log")
.arg("./example_logs/valid/44.log")
.arg(test_out.as_path())
.assert()
.success()
@ -32,7 +32,7 @@ mod integrated_test {
let r = BufReader::new(f);
assert!(r.lines().any(|line| {
line.unwrap().eq(
"8866,,B-0-1,0,1,1,0,1,8,1,,7,2024-07-20T17:15:46Z,7.log,0.1.0,alice,,,,false,",
"214,,B-0-1,1,1,1,1,1,0,1,,44,2024-07-25T08:41:27Z,44.log,1.0.1,Bob,,,,false,",
)
}));
}