Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
The Tor Project
Applications
tor-browser-bundle-testsuite
Commits
5771aca4
Unverified
Commit
5771aca4
authored
Jul 25, 2014
by
boklm
Browse files
xpcshell_test: use xvfb-run
Some xpcshell tests fail if there is no X server available.
parent
dac77136
Changes
1
Hide whitespace changes
Inline
Side-by-side
TBBTestSuite/BrowserUnitTests.pm
View file @
5771aca4
...
...
@@ -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
}
=
[]
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment