aboutsummaryrefslogtreecommitdiff
path: root/tests/cfail.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/cfail.rs')
-rw-r--r--tests/cfail.rs17
1 files changed, 0 insertions, 17 deletions
diff --git a/tests/cfail.rs b/tests/cfail.rs
deleted file mode 100644
index 6572d65..0000000
--- a/tests/cfail.rs
+++ /dev/null
@@ -1,17 +0,0 @@
-extern crate compiletest_rs as compiletest;
-
-use std::path::PathBuf;
-
-use compiletest::common::Mode;
-use compiletest::Config;
-
-#[test]
-fn cfail() {
- let mut config = Config::default();
- config.mode = Mode::CompileFail;
- config.src_base = PathBuf::from(format!("tests/cfail"));
- config.target_rustcflags =
- Some("-C panic=abort -L target/debug -L target/debug/deps ".to_string());
-
- compiletest::run_tests(&config);
-}