diff options
author | Jan-Simon Möller <jsmoeller@linuxfoundation.org> | 2018-11-16 07:27:32 +0100 |
---|---|---|
committer | Jan-Simon Möller <jsmoeller@linuxfoundation.org> | 2018-11-16 07:27:32 +0100 |
commit | 4f56ed2afbc39ada5978280801c41d7ce903bc9c (patch) | |
tree | e4c85b6ce5ca8297ffb2784a556a2ea981b54caf | |
parent | d006502717f167643f69f2f67ad05d0e0f46c5d3 (diff) |
Tune down on selection of ptests and ramp-up one-by-oneguppy_6.99.1guppy/6.99.16.99.1
E.g. the systemd ptest will break network which is bad in a network env.
So start with less and add more after checking manually.
Change-Id: Iff199dfb6e42475495e036330b0962739e2f74f4
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
-rwxr-xr-x | common/scripts/ptest-lava-wrapper.sh | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/common/scripts/ptest-lava-wrapper.sh b/common/scripts/ptest-lava-wrapper.sh index d3ce449..21635ce 100755 --- a/common/scripts/ptest-lava-wrapper.sh +++ b/common/scripts/ptest-lava-wrapper.sh @@ -1,17 +1,20 @@ #!/bin/bash -REQUIREDPTESTS="acl attr systemd cynara xmlsec1 libxml2 openssl openssh lua smack afb-test agl-service-signal-composer dbus-test" - +REQUIREDPTESTS="acl attr cynara xmlsec1 libxml2 lua smack" +# NOT: systemd openssl openssh # Check if ptest packages are installed + +echo "Testing these components: $REQUIREDPTESTS" + command -v ptest-runner >/dev/null 2>&1 if [ $? -ne 0 ] ; then lava-test-case ptest-installed --result SKIP else # Run ptests for specified packages for unit in ${REQUIREDPTESTS}; do + lava-test-set start ptest-$unit UNIT_LOG=$(ptest-runner ${unit} 2> /dev/null) if [ $? -eq 0 ] ; then - lava-test-set start ptest-$unit # grep: Get only the ptests results, no log # sed 1: replace spaces by hyphens # sed 2: remove any special character |