mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
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:
commit
fb3ba97f05
1 changed files with 6 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue