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>
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
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}