Fixed parameters for running tests via bash
parent
20266aa542
commit
4cf6166634
|
@ -64,9 +64,8 @@ for platform in ${TEST_PLATFORMS//;/ }; do
|
||||||
echo "# Testing in $platform #"
|
echo "# Testing in $platform #"
|
||||||
echo "###########################"
|
echo "###########################"
|
||||||
echo ""
|
echo ""
|
||||||
|
|
||||||
runTests=""
|
if [[ "$platform" -eq "COMBINE_RESULTS" ]]; then
|
||||||
if [ $platform -ne "COMBINE_RESULTS" ]; then
|
|
||||||
runTests="-runTests -testPlatform $platform -testResults $FULL_ARTIFACTS_PATH/$platform-results.xml"
|
runTests="-runTests -testPlatform $platform -testResults $FULL_ARTIFACTS_PATH/$platform-results.xml"
|
||||||
else
|
else
|
||||||
runTests="-quit"
|
runTests="-quit"
|
||||||
|
@ -107,7 +106,8 @@ for platform in ${TEST_PLATFORMS//;/ }; do
|
||||||
echo "# $platform Results #"
|
echo "# $platform Results #"
|
||||||
echo "###########################"
|
echo "###########################"
|
||||||
echo ""
|
echo ""
|
||||||
if [ $platform -ne "COMBINE_RESULTS" ]; then
|
|
||||||
|
if [[ "$platform" -eq "COMBINE_RESULTS" ]]; then
|
||||||
cat "$FULL_ARTIFACTS_PATH/$platform-results.xml"
|
cat "$FULL_ARTIFACTS_PATH/$platform-results.xml"
|
||||||
cat "$FULL_ARTIFACTS_PATH/$platform-results.xml" | grep test-run | grep Passed
|
cat "$FULL_ARTIFACTS_PATH/$platform-results.xml" | grep test-run | grep Passed
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue