diff options
author | Amit Khare <amit.khare@linaro.org> | 2014-04-14 15:06:57 +0530 |
---|---|---|
committer | Milosz Wasilewski <milosz.wasilewski@linaro.org> | 2014-04-14 12:57:12 +0000 |
commit | 958bde3356f50ed6c471609136f70f70cc1cbd98 (patch) | |
tree | 7c369b9c75bdce34c17b72259205917b29819c2f | |
parent | 3fd94c3a20dc549daed74a357b7c2f0a5ee88765 (diff) |
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 <amit.khare@linaro.org>
-rw-r--r-- | openembedded/pwrmgmt.yaml | 5 | ||||
-rw-r--r-- | 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<test_case_id>[\\w/\\.]+):\\s+(?P<message>.+)\\.\\.\\.\\s+(?P<result>\\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<test_case_id>[\\w/\\.]+):\\s+(?P<message>.+)\\.\\.\\.\\s+(?P<result>\\w+)" |