3 REQUIREDPTESTS="acl attr cynara xmlsec1 libxml2 lua smack"
4 # NOT: systemd openssl openssh
5 # Check if ptest packages are installed
7 echo "Testing these components: $REQUIREDPTESTS"
9 command -v ptest-runner >/dev/null 2>&1
10 if [ $? -ne 0 ] ; then
11 lava-test-case ptest-installed --result SKIP
13 lava-test-case ptest-installed --result PASS
15 # Run ptests for specified packages
16 for unit in ${REQUIREDPTESTS}; do
17 ptest-runner -L ${unit}
20 lava-test-case ptest-runtime --measurement $SECONDS --units seconds --result PASS
23 # Wait for LAVA to parse all the tests from stdout