Unverified Commit 5771aca4 authored by boklm's avatar boklm
Browse files

xpcshell_test: use xvfb-run

Some xpcshell tests fail if there is no X server available.
parent dac77136
......@@ -155,7 +155,8 @@ sub find_xpcshell_tests {
sub xpcshell_test {
my ($tbbinfos, $test) = @_;
my ($out, $err, $success) =
capture_exec('./mach', 'xpcshell-test', $test->{dir});
capture_exec('xvfb-run', '--server-args=-screen 0 1024x768x24',
'./mach', 'xpcshell-test', $test->{dir});
$test->{results}{success} = $success;
$test->{results}{out} = $out;
$test->{results}{failed} = [];
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment