aboutsummaryrefslogtreecommitdiff
path: root/tests/cfail.rs
diff options
context:
space:
mode:
authorbors[bot] <bors[bot]@users.noreply.github.com>2018-11-03 16:31:11 +0000
committerbors[bot] <bors[bot]@users.noreply.github.com>2018-11-03 16:31:11 +0000
commit777765e522949ebf84d05d4db075132172d81494 (patch)
tree41bc00739da8f832eb5ba68ef99ec8b9d06111a4 /tests/cfail.rs
parent653338e7997a0cdc5deaed98b1bb5f60006717ed (diff)
parent3a867e70c3b1afc4943ec597e4f188432fba5a8b (diff)
Merge #97
97: v0.4.0 r=japaric a=japaric closes #32 closes #33 Co-authored-by: Jorge Aparicio <jorge@japaric.io>
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);
-}