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;
89
89
use test_result:: * ;
90
90
use time:: TestExecTime ;
91
91
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 ;
94
94
95
95
const SECONDARY_TEST_INVOKER_VAR : & str = "__RUST_TEST_INVOKE" ;
96
96
const 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(
410
410
std:: mem:: drop ( temp_dir) ;
411
411
times. display_times ( ) ;
412
412
// 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 ) ;
414
414
}
415
415
}
416
416
You can’t perform that action at this time.
0 commit comments