From 3de0aefe89b698e4a50f814973232ccb1dc32dfc Mon Sep 17 00:00:00 2001 From: Chase Qi Date: Tue, 8 Sep 2015 18:03:15 +0800 Subject: ubuntu: upgrade lkp test definition * Unify python code style * Reform test code structure * Add COMMIT parameter to specify kernel commit hash * Add MONITORS parameter to control monitor process Change-Id: I7c0251671f75d8b215b04782d52629c19e6c4ef2 Signed-off-by: Chase Qi --- ubuntu/lkp.yaml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'ubuntu') diff --git a/ubuntu/lkp.yaml b/ubuntu/lkp.yaml index 72bfdbb..4a4e4a5 100644 --- a/ubuntu/lkp.yaml +++ b/ubuntu/lkp.yaml @@ -12,6 +12,7 @@ metadata: - functional devices: - mustang + - juno install: git-repos: @@ -31,9 +32,16 @@ install: - xz-utils params: + # Used to specify jobs located in 'lkp-tests/jobs/'. + JOB: 'hackbench' + # Used to specify all 40 commit hash characters. + COMMIT: 'commit' + # Set LOOPS to the times to run in the same lava_test_shell. LOOPS: 1 - JOB: 'unixbench' + # Set MONITORS to '--no-defaults' to disable the default monitors. + MONITORS: 'default' run: steps: - - './common/scripts/lkp.py $(readlink -f lkp-tests) $(pwd) $LOOPS $JOB' + - './common/scripts/lkp.py $(readlink -f lkp-tests) $(pwd) + $JOB $COMMIT $LOOPS $MONITORS' -- cgit v1.2.3