diff options
Diffstat (limited to 'lazy-static/compiletest/tests/compile_tests.rs')
-rw-r--r-- | lazy-static/compiletest/tests/compile_tests.rs | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/lazy-static/compiletest/tests/compile_tests.rs b/lazy-static/compiletest/tests/compile_tests.rs deleted file mode 100644 index d908077..0000000 --- a/lazy-static/compiletest/tests/compile_tests.rs +++ /dev/null @@ -1,19 +0,0 @@ -extern crate compiletest_rs as compiletest; - -fn run_mode(mode: &'static str) { - let mut config = compiletest::Config::default(); - config.mode = mode.parse().expect("Invalid mode"); - config.src_base = ["tests", mode].iter().collect(); - - config.verbose = true; - - config.target_rustcflags = Some("-L target/debug/ -L target/debug/deps/".to_owned()); - config.clean_rmeta(); - - compiletest::run_tests(&config); -} - -#[test] -fn compile_test() { - run_mode("compile-fail"); -} |