Skip to content

Commit 1bf710d

Browse files
committed
[WIP]
1 parent 8870f45 commit 1bf710d

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

build_system/tests.rs

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -272,6 +272,17 @@ const EXTENDED_SYSROOT_SUITE: &[TestCase] = &[
272272
run_cmd.current_dir(IMAGE.target_dir(&runner.dirs));
273273

274274
spawn_and_wait(run_cmd);
275+
276+
let expected =
277+
fs::read(IMAGE.source_dir(&runner.dirs).join("examples").join("fractal.png"))
278+
.unwrap();
279+
let output = fs::read(IMAGE.target_dir(&runner.dirs).join("fractal.png")).unwrap();
280+
281+
if output != expected {
282+
println!("Output files don't match!");
283+
284+
std::process::exit(1);
285+
}
275286
}
276287
}),
277288
TestCase::custom("test.blake3", &|runner| {

0 commit comments

Comments
 (0)