From 958bde3356f50ed6c471609136f70f70cc1cbd98 Mon Sep 17 00:00:00 2001 From: Amit Khare Date: Mon, 14 Apr 2014 15:06:57 +0530 Subject: pwrmgmt: test set can run individually with given parameters Added parameter feature to run tests individually and no param runs all tests. Also added the same feature to openembedded test suite too. Change-Id: I21f7ffdd107327255cff6703370706e1f082c412 Signed-off-by: Amit Khare --- openembedded/pwrmgmt.yaml | 5 ++++- ubuntu/pwrmgmt.yaml | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/openembedded/pwrmgmt.yaml b/openembedded/pwrmgmt.yaml index f31e967..2ea3c18 100644 --- a/openembedded/pwrmgmt.yaml +++ b/openembedded/pwrmgmt.yaml @@ -18,10 +18,13 @@ install: steps: - "cd pm-qa && make -C utils" +params: + PWR_TESTARG: cpufreq cpuidle cpuhotplug thermal cputopology + run: steps: - cd pm-qa - - make -k check + - for testset in $PWR_TESTARG; do make -C $testset check; done parse: pattern: "^(?P[\\w/\\.]+):\\s+(?P.+)\\.\\.\\.\\s+(?P\\w+)" diff --git a/ubuntu/pwrmgmt.yaml b/ubuntu/pwrmgmt.yaml index 6a566da..ee94a15 100644 --- a/ubuntu/pwrmgmt.yaml +++ b/ubuntu/pwrmgmt.yaml @@ -23,10 +23,13 @@ install: steps: - "cd pm-qa && make -C utils" +params: + PWR_TESTARG: cpufreq cpuidle cpuhotplug thermal cputopology + run: steps: - cd pm-qa - - make -k check + - for testset in $PWR_TESTARG; do make -C $testset check; done parse: pattern: "^(?P[\\w/\\.]+):\\s+(?P.+)\\.\\.\\.\\s+(?P\\w+)" -- cgit v1.2.3