mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Switch linux reftests on glutin to use osmesa software rendering.
This commit is contained in:
parent
6dd12855ac
commit
a2a74cbb4f
1 changed files with 3 additions and 0 deletions
|
@ -276,6 +276,9 @@ fn capture(reftest: &Reftest, side: uint) -> (u32, u32, Vec<u8>) {
|
||||||
if reftest.experimental {
|
if reftest.experimental {
|
||||||
command.arg("--experimental");
|
command.arg("--experimental");
|
||||||
}
|
}
|
||||||
|
if cfg!(target_os = "linux") {
|
||||||
|
command.args(["-r", "mesa"].as_slice());
|
||||||
|
}
|
||||||
let retval = match command.status() {
|
let retval = match command.status() {
|
||||||
Ok(status) => status,
|
Ok(status) => status,
|
||||||
Err(e) => panic!("failed to execute process: {}", e),
|
Err(e) => panic!("failed to execute process: {}", e),
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue