Skip to content

Commit

Permalink
Update testHeadlessComponents.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
andrlos authored Nov 27, 2023
1 parent 36d188b commit 32e6f52
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions testHeadlessComponents.sh
Original file line number Diff line number Diff line change
Expand Up @@ -228,9 +228,17 @@ done
let "TESTS = $FAILED + $PASSED + $IGNORED"

XMLREPORT=$TMPRESULTS/testHeadlessComponent.jtr.xml
printXmlHeader $PASSED $FAILED $TESTS $IGNORED "testHeadlessComponent" > $XMLREPORT
echo "$BODY" >> $XMLREPORT
printXmlFooter >> $XMLREPORT
if [ "$OS" == "windows" ]; then
printXmlHeader $PASSED $FAILED $TESTS $IGNORED "testHeadlessComponent" | Out-File -FilePath $XMLREPORT
echo "$BODY" | Out-File -FilePath $XMLREPORT
printXmlFooter | Out-File -FilePath $XMLREPORT
else
printXmlHeader $PASSED $FAILED $TESTS $IGNORED "testHeadlessComponent" > $XMLREPORT
echo "$BODY" >> $XMLREPORT
printXmlFooter >> $XMLREPORT
fi

ls

for val in ${resArray[@]}; do
if [[ "$val" -ne "0" ]]; then
Expand Down

0 comments on commit 32e6f52

Please sign in to comment.