From a2a74cbb4ff09715c39f270b4bee82cd0459ee64 Mon Sep 17 00:00:00 2001 From: Glenn Watson Date: Tue, 20 Jan 2015 09:09:45 +1000 Subject: [PATCH] Switch linux reftests on glutin to use osmesa software rendering. --- tests/reftest.rs | 3 +++ 1 file changed, 3 insertions(+) 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) { 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),