diff options
| author | Steven Fackler <sfackler@gmail.com> | 2014-06-08 17:10:27 -0700 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2014-06-09 17:46:27 -0700 |
| commit | 5eb4d19dc35dc59aaeaf3d53759c9b0341148ef8 (patch) | |
| tree | 42a3a23521bb590013b1c26a467d7cfd24978342 /src/compiletest | |
| parent | 9faf5a3483c4fc9a0d290c9dc6af006c6b76255c (diff) | |
| download | rust-5eb4d19dc35dc59aaeaf3d53759c9b0341148ef8.tar.gz rust-5eb4d19dc35dc59aaeaf3d53759c9b0341148ef8.zip | |
Add a --color flag to test binaries
It uses the same behavior as rustc's.
Diffstat (limited to 'src/compiletest')
| -rw-r--r-- | src/compiletest/compiletest.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/compiletest/compiletest.rs b/src/compiletest/compiletest.rs index de0ca4971f5..977b7dc32c5 100644 --- a/src/compiletest/compiletest.rs +++ b/src/compiletest/compiletest.rs @@ -292,6 +292,7 @@ pub fn test_opts(config: &Config) -> test::TestOpts { save_metrics: config.save_metrics.clone(), test_shard: config.test_shard.clone(), nocapture: false, + color: test::AutoColor, } } |
