Skip to content
This repository has been archived by the owner on May 5, 2023. It is now read-only.

Commit

Permalink
Minor changes in presentation of skipped tests
Browse files Browse the repository at this point in the history
  • Loading branch information
joergboe committed Dec 17, 2019
1 parent 0e3deb6 commit 8811808
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion bin/coreutil.sh
Original file line number Diff line number Diff line change
Expand Up @@ -653,7 +653,7 @@ function TTTF_addCaseEntry {
echo -e "$part1\nFAILURE\n${reason}\n" >> "$8"
fi;;
SKIP )
echo "<li><a href=\"$6\"><b>$mycasename</b></a> - <a href=\"$5\">InputDdir</a><br><span style=\"color: blue\">$4</span> : $reason-Time elapsed: $7</li>" >> "$1"
echo "<li><a href=\"$6\"><b>$mycasename</b></a> - <a href=\"$5\">InputDdir</a><br><span style=\"color: blue\">$4</span> : $reason - Time elapsed: $7</li>" >> "$1"
if [[ -n $TTXX_summary ]]; then
echo -e "$part1\nSKIPPED\n${reason}\n" >> "$8"
fi;;
Expand Down
2 changes: 1 addition & 1 deletion bin/man.sh
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ function manpage () {
the error is logged and the execution is stopped. The result of the case is not affected.
- FINS - The space separated list or an array of test finalization commands.
- TTPR_timeout - The default test case timeout in seconds. default is 120 sec. This variable must be defined in the
- TTPR_timeout - The default test case timeout in seconds. default is 240 sec. This variable must be defined in the
description section of test case file or anywhere in the Test Suite or Test Property file. A definition
in the script section of a Test Case has no effect.
- TTPR_additionalTime - The extra wait time after the test case time out. If the test case does not end after this
Expand Down
2 changes: 1 addition & 1 deletion bin/util.sh
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ function setSkip {
else
setVar 'TTPRN_skip' 'unspecified'
fi
printInfo "Set SKIP reason $TTPRN_skip"
printInfo "$FUNCNAME : $TTPRN_skip"
}
readonly -f setSkip

Expand Down
4 changes: 3 additions & 1 deletion test/jobtest/Suite1/TestSuite.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,13 @@ PREPS=myPrep

myPrep() {
echo "expected result is in parallel mode:"
echo "executed=4 failures=0 errors=2 skipped=0"
echo "executed=4 failures=0 errors=1 skipped=0"
echo "Test case error (timout) for case Case1EndlessSync"
echo
echo "in serial mode:"
echo "executed=4 failures=0 errors=1 skipped=0"
echo "if 'y' was pressed during execution of case Case0ReadFromConsole"
echo "Test case error (timout) for case Case1EndlessSync"
echo
promptYesNo
}

0 comments on commit 8811808

Please sign in to comment.