Auto merge of #8367 - jdm:investigation2, r=metajack

Force constellation logging when running particularly frustrating tes…

…ts on the build machines. Continuation of investigation for #7787.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8367)
<!-- Reviewable:end -->
This commit is contained in:
bors-servo 2015-11-06 02:52:33 +05:30
commit fb3ba97f05

View file

@ -51,11 +51,15 @@ fn load_gl_when_headless() {
fn load_gl_when_headless() {}
fn main() {
env_logger::init().unwrap();
// Parse the command line options and store them globally
opts::from_cmdline_args(&*args());
if opts::get().is_running_problem_test && ::std::env::var("RUST_LOG").is_err() {
::std::env::set_var("RUST_LOG", "compositing::constellation");
}
env_logger::init().unwrap();
setup_logging();
// Possibly interpret the `HOST_FILE` environment variable