]> git.lizzy.rs Git - rust.git/commitdiff
Don't set RUST_BACKTRACE for tests
authormcarton <cartonmartin+git@gmail.com>
Fri, 2 Dec 2016 19:33:37 +0000 (20:33 +0100)
committermcarton <cartonmartin+git@gmail.com>
Fri, 2 Dec 2016 19:33:37 +0000 (20:33 +0100)
It is slow but it can be useful and can be set/unset explicitly before
running tests if needed. There is no backtrace by default anyway.

tests/compile-test.rs

index 50701ce0ec99562cd713e8b0d40651d2def76cac..deadd499192d892f3ffa9b86718ee0cf76bcd21c 100644 (file)
@@ -21,7 +21,6 @@ fn run_mode(dir: &'static str, mode: &'static str) {
 
 fn prepare_env() {
     set_var("CLIPPY_DISABLE_WIKI_LINKS", "true");
-    set_var("RUST_BACKTRACE", "0"); // these are riddicously slow right now
 }
 
 #[test]