Skip to content
GitLab
Menu
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
9c76ca9e
Unverified
Commit
9c76ca9e
authored
Aug 01, 2016
by
boklm
Browse files
marionette_run: avoid error when result file does not exist
parent
dea7d431
Changes
1
Hide whitespace changes
Inline
Side-by-side
TBBTestSuite/TestSuite/BrowserBundleTests.pm
View file @
9c76ca9e
...
...
@@ -773,7 +773,7 @@ sub marionette_run {
$OSNAME
eq
'
cygwin
'
?
()
:
('
--workspace
',
$test
->
{
workspace
}),
winpath
("
$FindBin
::Bin/marionette/tor_browser_tests/test_
${marionette_test}
.py
"));
$ENV
{
PYTHONPATH
}
=
$pypath
;
my
@txt_log
=
read_file
(
$result_file_txt
);
my
@txt_log
=
-
f
$result_file_txt
?
read_file
(
$result_file_txt
)
:
('
NoFile
')
;
my
$res_line
=
shift
@txt_log
;
$test
->
{
results
}{
success
}
=
$res_line
eq
"
.
\n
"
||
$res_line
eq
"
.
\r\n
";
$test
->
{
results
}{
log
}
=
join
'',
@txt_log
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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