aboutsummaryrefslogtreecommitdiff
path: root/openembedded-lkft
diff options
context:
space:
mode:
authorNaresh Kamboju <naresh.kamboju@linaro.org>2018-07-05 16:21:27 +0530
committerNaresh Kamboju <naresh.kamboju@linaro.org>2018-07-06 06:18:25 +0000
commitd516ffb349b4600578018b7d71294a345a9867a5 (patch)
tree284145a0521230d1b6b4526c45cd0a8732f5d5d5 /openembedded-lkft
parentba7454968e0abf6426d4d9e8960f4b90f94f6988 (diff)
openembedded-lkft: Run LTP open posix on limited devices
This patch enables to run on one device per each architecture. Enable to run all kernel branches. Increase test run timeout to 75 minutes. Change-Id: I14863edbd92cacb8795601bfcbf818e8d699e549 Signed-off-by: Naresh Kamboju <naresh.kamboju@linaro.org>
Diffstat (limited to 'openembedded-lkft')
-rw-r--r--openembedded-lkft/lava-job-definitions/testplan/ltp-open-posix.yaml4
-rwxr-xr-xopenembedded-lkft/submit_for_testing.sh5
2 files changed, 5 insertions, 4 deletions
diff --git a/openembedded-lkft/lava-job-definitions/testplan/ltp-open-posix.yaml b/openembedded-lkft/lava-job-definitions/testplan/ltp-open-posix.yaml
index ae4599612e..f077190ff3 100644
--- a/openembedded-lkft/lava-job-definitions/testplan/ltp-open-posix.yaml
+++ b/openembedded-lkft/lava-job-definitions/testplan/ltp-open-posix.yaml
@@ -1,6 +1,6 @@
{% extends device_type %}
-{% set job_timeout = 45 %}
+{% set job_timeout = 75 %}
{% block metadata %}
{{ super() }}
ltp-open-posix-tests__url: "{{LTP_URL | default('unknown')}}"
@@ -21,5 +21,5 @@
parameters:
SKIP_INSTALL: 'true'
timeout:
- minutes: 45
+ minutes: 75
{% endblock test_target %}
diff --git a/openembedded-lkft/submit_for_testing.sh b/openembedded-lkft/submit_for_testing.sh
index 5d12273922..9f3909d75e 100755
--- a/openembedded-lkft/submit_for_testing.sh
+++ b/openembedded-lkft/submit_for_testing.sh
@@ -70,8 +70,9 @@ TEMPLATE_PATH=""
for test in $(ls ${BASE_PATH}/lava-job-definitions/testplan/); do
if [[ ${test} = "ltp-open-posix.yaml" ]];then
- # Adding LTP open posix test suite only for mainline and next builds
- if [[ ${QA_SERVER_PROJECT} = "linux-mainline-oe" || ${QA_SERVER_PROJECT} = "linux-next-oe" ]];then
+ # Run LTP open posix test suite on limited devices
+ # Each one per architecture arm64 juno-r2, arm32 x15 and x86
+ if [[ ${DEVICE_TYPE} = "juno-r2" || ${DEVICE_TYPE} = "x15" || ${DEVICE_TYPE} = "x86" ]];then
TEST_TEMPLATES="${TEST_TEMPLATES} testplan/${test}"
fi
elif [[ ${test} = "kselftests-native.yaml" || ${test} = "kselftests-none.yaml" ]];then