Fix CI build failure when using new libtest public constant

This commit is contained in:
Guillaume Gomez 2025-07-22 13:31:12 +02:00
parent 227abb70ab
commit bee5fbf36e

View file

@ -409,8 +409,9 @@ pub(crate) fn run_tests(
// We ensure temp dir destructor is called.
std::mem::drop(temp_dir);
times.display_times();
// libtest::ERROR_EXIT_CODE is not public but it's the same value.
std::process::exit(test::ERROR_EXIT_CODE);
// FIXME(GuillaumeGomez): Uncomment the next line once #144297 has been merged.
// std::process::exit(test::ERROR_EXIT_CODE);
std::process::exit(101);
}
}