Commit 6df91f7d authored by Christian Kuhn's avatar Christian Kuhn
Browse files

[TASK] runTests.sh: clean summary in verbose mode

The 'summary' section at the end of runTests.sh is
cluttered with command output if -v is given.
Suppress this by setting 'set +x' before summary
output.

Resolves: #93360
Releases: master, 10.4, 9.5
Change-Id: I1a9d3126d160d25fc2b87b0b7c5ec0c0c59b689d
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/67525

Tested-by: default avatarTYPO3com <noreply@typo3.com>
Tested-by: Christian Kuhn's avatarChristian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Christian Kuhn's avatarChristian Kuhn <lolli@schwarzbu.ch>
parent 8b0e90c9
......@@ -612,6 +612,12 @@ case ${DBMS} in
DBMS_OUTPUT="DBMS not recognized: $DBMS"
exit 1
esac
# Print summary
if [ ${SCRIPT_VERBOSE} -eq 1 ]; then
# Turn off verbose mode for the script summary
set +x
fi
echo "" >&2
echo "###########################################################################" >&2
if [[ ${TEST_SUITE} =~ ^(functional|install|acceptance)$ ]]; then
......@@ -631,4 +637,5 @@ fi
echo "###########################################################################" >&2
echo "" >&2
# Exit with code of test suite - This script return non-zero if the executed test failed.
exit $SUITE_EXIT_CODE
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