File tree 2 files changed +5
-5
lines changed
2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -45,3 +45,7 @@ colored = "2"
45
45
# This crate uses #[feature(rustc_private)].
46
46
# See https://github.com/rust-analyzer/rust-analyzer/pull/7891
47
47
rustc_private = true
48
+
49
+ [[test ]]
50
+ name = " compiletest"
51
+ harness = false
Original file line number Diff line number Diff line change 1
- #![ feature( custom_test_frameworks) ]
2
- // Custom test runner, to avoid libtest being wrapped around compiletest which wraps libtest.
3
- #![ test_runner( test_runner) ]
4
-
5
1
use std:: env;
6
2
use std:: path:: PathBuf ;
7
3
@@ -83,7 +79,7 @@ fn get_target() -> String {
83
79
env:: var ( "MIRI_TEST_TARGET" ) . unwrap_or_else ( |_| get_host ( ) )
84
80
}
85
81
86
- fn test_runner ( _tests : & [ & ( ) ] ) {
82
+ fn main ( ) {
87
83
// Add a test env var to do environment communication tests.
88
84
env:: set_var ( "MIRI_ENV_VAR_TEST" , "0" ) ;
89
85
// Let the tests know where to store temp files (they might run for a different target, which can make this hard to find).
You can’t perform that action at this time.
0 commit comments