diff options
author | Glenn Watson <gw@intuitionlibrary.com> | 2015-01-20 09:09:45 +1000 |
---|---|---|
committer | Glenn Watson <gw@intuitionlibrary.com> | 2015-01-20 09:09:45 +1000 |
commit | a2a74cbb4ff09715c39f270b4bee82cd0459ee64 (patch) | |
tree | 9b79af721c8cf82c209dfe595716808a00e64cf6 | |
parent | 6dd12855ac28f25da4fa609c65b1f3336d5f99c3 (diff) | |
download | servo-a2a74cbb4ff09715c39f270b4bee82cd0459ee64.tar.gz servo-a2a74cbb4ff09715c39f270b4bee82cd0459ee64.zip |
Switch linux reftests on glutin to use osmesa software rendering.
-rw-r--r-- | tests/reftest.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/reftest.rs b/tests/reftest.rs index 92c84b28b55..6c483d6d02a 100644 --- a/tests/reftest.rs +++ b/tests/reftest.rs @@ -276,6 +276,9 @@ fn capture(reftest: &Reftest, side: uint) -> (u32, u32, Vec<u8>) { if reftest.experimental { command.arg("--experimental"); } + if cfg!(target_os = "linux") { + command.args(["-r", "mesa"].as_slice()); + } let retval = match command.status() { Ok(status) => status, Err(e) => panic!("failed to execute process: {}", e), |