aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tests/reftest.rs3
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),