diff options
author | Naresh Kamboju <naresh.kamboju@linaro.org> | 2015-05-21 22:02:57 +0530 |
---|---|---|
committer | Milosz Wasilewski <milosz.wasilewski@linaro.org> | 2015-06-03 18:04:30 +0000 |
commit | 285da258b9fbc2cec521679417f1006e1e84ebf7 (patch) | |
tree | a3a3833f5b0ccb6d5d5a4c0274c25274c66638bd | |
parent | 9a8031b71908e6cdf4069ae884be91b13e7a4430 (diff) |
sched_tests: Adding scheduler testssuites
big.LITTLE Scheduler tests: This test suite generates
synthetic loads to validate the scheduler task placements
functionality on big and little cores according to the load
of the task.
Change-Id: I4a0056577c082d87028022511b1126c852857bd6
Signed-off-by: Naresh Kamboju <naresh.kamboju@linaro.org>
-rw-r--r-- | common/scheduler_testssuites.yaml | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/common/scheduler_testssuites.yaml b/common/scheduler_testssuites.yaml new file mode 100644 index 0000000..c980323 --- /dev/null +++ b/common/scheduler_testssuites.yaml @@ -0,0 +1,47 @@ +metadata: + name: big.LITTLE_Scheduler_tests + format: "Lava-Test-Shell Test Definition 1.0" + description: "big.LITTLE Scheduler tests: This test suite generates + synthetic loads to validate the scheduler task placements + functionality on big and little cores according to the load + of the task." + maintainer: + - naresh.kamboju@linaro.org + os: + - android + - ubuntu + - openembedded + devices: + - vexpress-tc2 + - juno + scope: + - functional + +params: + TEST_SUITE: "sched_tests-android-tc2.tar.gz" + +install: + steps: + - 'echo 0 > /sys/kernel/bL_switcher/active || true' + - 'mkdir /data/local/schedtest' + - 'cd /data/local/schedtest' + - 'wget http://testdata.validation.linaro.org/tests/$TEST_SUITE' + - 'tar -xvzf $TEST_SUITE' + +run: + steps: + - 'mount -o rw,remount /' + - 'mkdir -p /bin' + - 'cp /system/bin/sh /bin/sh' + - 'cd /data/local/schedtest' + - 'pwd' + - './schedtest-run' + - 'tar -zcvf sched_results.tar.gz suites' + - 'lava-test-run-attach sched_results.tar.gz application/x-gtar' + +parse: + pattern: "^(?P<test_case_id>\\S+).+(?P<result>(succeeded|failed|deprecated|pass|fail))$" + fixupdict: + succeeded: pass + failed: fail + deprecated: skip |