summaryrefslogtreecommitdiffstats
path: root/common/scripts/ptest-lava-wrapper-all.sh
blob: 2aa3301efcddeb9eeeec5b688136c09922ca09d5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/bash

# Check if ptest packages are installed
command -v ptest-runner >/dev/null 2>&1
if [ $? -ne 0 ] ; then
    lava-test-case ptest-installed --result SKIP
else
    ptest-runner -L
    lava-test-case ptest-runtime --measurement $SECONDS --units seconds --result PASS
fi

# Wait for LAVA to parse all the tests from stdout
sleep 15