diff options
| author | Jorge Aparicio <jorge@japaric.io> | 2017-07-23 20:51:58 -0500 |
|---|---|---|
| committer | Jorge Aparicio <jorge@japaric.io> | 2017-07-23 20:51:58 -0500 |
| commit | 6ea9cda6635e7536523f3c6d3d217f7d474ae4a2 (patch) | |
| tree | c5617f6b60531891231ba2b5b029f957562a085f /tests/cfail.rs | |
| parent | 05feb7b018817f88123900c9196e830d51608a5f (diff) | |
update cfail tests
Diffstat (limited to 'tests/cfail.rs')
| -rw-r--r-- | tests/cfail.rs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/cfail.rs b/tests/cfail.rs index 44c982c..a475894 100644 --- a/tests/cfail.rs +++ b/tests/cfail.rs @@ -9,8 +9,9 @@ fn cfail() { let mut config = compiletest::default_config(); config.mode = Mode::CompileFail; config.src_base = PathBuf::from(format!("tests/cfail")); - config.target_rustcflags = - Some("-L target/debug -L target/debug/deps ".to_string()); + config.target_rustcflags = Some( + "-C panic=abort -L target/debug -L target/debug/deps ".to_string(), + ); compiletest::run_tests(&config); } |
