aboutsummaryrefslogtreecommitdiff
path: root/tests/cfail.rs
diff options
context:
space:
mode:
authorJorge Aparicio <jorge@japaric.io>2018-11-03 17:02:41 +0100
committerJorge Aparicio <jorge@japaric.io>2018-11-03 17:16:55 +0100
commitc631049efcadca8b07940c794cce2be58fa48444 (patch)
treef6bd73e5c396fc06072557ee965cc59e9c8e3e9f /tests/cfail.rs
parent653338e7997a0cdc5deaed98b1bb5f60006717ed (diff)
v0.4.0
closes #32 closes #33
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);
-}