mirror of
https://github.com/servo/servo.git
synced 2025-08-07 06:25:32 +01:00
Force constellation logging when running particularly frustrating tests on the build machines. Continuation of investigation for #7787.
This commit is contained in:
parent
65a0bb4aef
commit
b91e3b88bd
1 changed files with 6 additions and 2 deletions
|
@ -51,11 +51,15 @@ fn load_gl_when_headless() {
|
||||||
fn load_gl_when_headless() {}
|
fn load_gl_when_headless() {}
|
||||||
|
|
||||||
fn main() {
|
fn main() {
|
||||||
env_logger::init().unwrap();
|
|
||||||
|
|
||||||
// Parse the command line options and store them globally
|
// Parse the command line options and store them globally
|
||||||
opts::from_cmdline_args(&*args());
|
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();
|
setup_logging();
|
||||||
|
|
||||||
// Possibly interpret the `HOST_FILE` environment variable
|
// Possibly interpret the `HOST_FILE` environment variable
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue