Extended ReportDetails function

This commit is contained in:
mboelen 2016-04-19 09:53:30 +02:00
parent bebf3d0bd5
commit 722703da31
1 changed files with 9 additions and 5 deletions

View File

@ -1633,14 +1633,18 @@
shift
TEST_FIELD=$1
;;
--key)
shift
TEST_KEY=$1
;;
--preferredvalue|--preferred-value)
shift
TEST_PREFERRED_VALUE=$1
;;
# Other details
--other)
shift
TEST_OTHER=$1
--service)
shift
TEST_SERVICE=$1
;;
--test)
shift
TEST_ID=$1
@ -1657,7 +1661,7 @@
esac
shift # Go to next parameter
done
Report "details[]=${TEST_ID}|desc=${TEST_DESCRIPTION}:field=${TEST_FIELD}:key=${TEST_KEY}:prefval=${TEST_PREFERRED_VALUE}:value=${TEST_VALUE}|"
Report "details[]=${TEST_ID}|service=${TEST_SERVICE}|desc=${TEST_DESCRIPTION}:field=${TEST_FIELD}:prefval=${TEST_PREFERRED_VALUE}:value=${TEST_VALUE}:other=${TEST_OTHER}|"
}
# Log exceptions