Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
D
drupal
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Custom Issue Tracker
Custom Issue Tracker
Labels
Merge Requests
306
Merge Requests
306
Requirements
Requirements
List
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Analytics
Analytics
Code Review
Insights
Issue
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
project
drupal
Commits
5819f5ed
Commit
5819f5ed
authored
Aug 10, 2012
by
webchick
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue
#1719530
by tim.plunkett, sun: Add --keep-results flag to run-tests.sh.
parent
26172602
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
core/scripts/run-tests.sh
core/scripts/run-tests.sh
+6
-2
No files found.
core/scripts/run-tests.sh
View file @
5819f5ed
...
...
@@ -82,7 +82,9 @@
}
// Clean up all
test
results.
simpletest_clean_results_table
()
;
if
(!
$args
[
'keep-results'
])
{
simpletest_clean_results_table
()
;
}
// Test
complete
, exit.
exit
;
...
...
@@ -348,7 +350,9 @@ function simpletest_script_execute_batch($test_classes) {
echo
'FATAL '
.
$child
[
'class'
]
.
': test runner returned a non-zero error code ('
.
$status
[
'exitcode'
]
.
').'
.
"
\n
"
;
}
// Free-up space by removing any potentially created resources.
simpletest_script_cleanup
(
$child
[
'test_id'
]
,
$child
[
'class'
]
,
$status
[
'exitcode'
])
;
if
(!
$args
[
'keep-results'
])
{
simpletest_script_cleanup
(
$child
[
'test_id'
]
,
$child
[
'class'
]
,
$status
[
'exitcode'
])
;
}
// Remove this child.
unset
(
$children
[
$cid
])
;
...
...
Write
Preview
Markdown
is supported
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