File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -89,8 +89,8 @@ use options::RunStrategy;
8989use test_result:: * ;
9090use time:: TestExecTime ;
9191
92- // Process exit code to be used to indicate test failures.
93- const ERROR_EXIT_CODE : i32 = 101 ;
92+ /// Process exit code to be used to indicate test failures.
93+ pub const ERROR_EXIT_CODE : i32 = 101 ;
9494
9595const SECONDARY_TEST_INVOKER_VAR : & str = "__RUST_TEST_INVOKE" ;
9696const SECONDARY_TEST_BENCH_BENCHMARKS_VAR : & str = "__RUST_TEST_BENCH_BENCHMARKS" ;
Original file line number Diff line number Diff line change @@ -410,7 +410,7 @@ pub(crate) fn run_tests(
410410 std:: mem:: drop ( temp_dir) ;
411411 times. display_times ( ) ;
412412 // libtest::ERROR_EXIT_CODE is not public but it's the same value.
413- std:: process:: exit ( 101 ) ;
413+ std:: process:: exit ( test :: ERROR_EXIT_CODE ) ;
414414 }
415415}
416416
You can’t perform that action at this time.
0 commit comments