summaryrefslogtreecommitdiffstats
path: root/common/scripts
diff options
context:
space:
mode:
authorKevin Hilman <khilman@baylibre.com>2018-11-26 16:26:18 -0800
committerKevin Hilman <khilman@baylibre.com>2018-11-26 16:47:55 -0800
commitc2ab422fbb9b70f231c853b388c5e013c9b86a93 (patch)
tree9c7e1f6b114db5a7c621969be8eba32b17032777 /common/scripts
parent435237023d1368d7d73085006f021f9307fde520 (diff)
ptest wrapper: add ptest-installed PASS
Add a "ptest-installed" test-case in the successful case also, so that there is always "ptest-installed" test case when ptests are attempted. Change-Id: I277ad66bf51a8b7e65fdea4cf77b6e1d862811c0 Signed-off-by: Kevin Hilman <khilman@baylibre.com>
Diffstat (limited to 'common/scripts')
-rwxr-xr-xcommon/scripts/ptest-lava-wrapper-all.sh1
-rwxr-xr-xcommon/scripts/ptest-lava-wrapper.sh2
2 files changed, 3 insertions, 0 deletions
diff --git a/common/scripts/ptest-lava-wrapper-all.sh b/common/scripts/ptest-lava-wrapper-all.sh
index 2aa3301..f7a0b4d 100755
--- a/common/scripts/ptest-lava-wrapper-all.sh
+++ b/common/scripts/ptest-lava-wrapper-all.sh
@@ -5,6 +5,7 @@ command -v ptest-runner >/dev/null 2>&1
if [ $? -ne 0 ] ; then
lava-test-case ptest-installed --result SKIP
else
+ lava-test-case ptest-installed --result PASS
ptest-runner -L
lava-test-case ptest-runtime --measurement $SECONDS --units seconds --result PASS
fi
diff --git a/common/scripts/ptest-lava-wrapper.sh b/common/scripts/ptest-lava-wrapper.sh
index 8e6e879..04aa51c 100755
--- a/common/scripts/ptest-lava-wrapper.sh
+++ b/common/scripts/ptest-lava-wrapper.sh
@@ -10,6 +10,8 @@ command -v ptest-runner >/dev/null 2>&1
if [ $? -ne 0 ] ; then
lava-test-case ptest-installed --result SKIP
else
+ lava-test-case ptest-installed --result PASS
+
# Run ptests for specified packages
for unit in ${REQUIREDPTESTS}; do
ptest-runner -L ${unit}