diff options
author | Anders Roxell <anders.roxell@linaro.org> | 2013-10-18 13:53:03 +0200 |
---|---|---|
committer | Anders Roxell <anders.roxell@linaro.org> | 2013-11-22 10:47:54 +0100 |
commit | 7f3be206af198cebee10720bc59d7392164cdedf (patch) | |
tree | f5b46f2a6a869f443cdc7d47439c9e395eb03a57 /openembedded/kvm-benchmark.yaml | |
parent | 751be8e82a104ad60e7fa67227cff2bc6e10a01a (diff) |
added lmbench to kvm-benchmark.yaml test for OE
simplified kvm-lava.conf, and construct tests in test-guest.sh
to be called from both kvm.yaml and kvm-benchmark.yaml
Using common/scripts/lmbench.sh to run inside the guest
parse_lmbench.sh: had to add --text to the grep command because
kvm-log.txt becomes in data and not text format.
Modifications by Riku: keep kvm-lava.conf around
Change-Id: Icfb5ae1ebe46400f018cd591aa4ba97aed56a044
Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
Diffstat (limited to 'openembedded/kvm-benchmark.yaml')
-rw-r--r-- | openembedded/kvm-benchmark.yaml | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/openembedded/kvm-benchmark.yaml b/openembedded/kvm-benchmark.yaml new file mode 100644 index 0000000..9ab82f4 --- /dev/null +++ b/openembedded/kvm-benchmark.yaml @@ -0,0 +1,25 @@ +metadata: + name: kvm-benchmark + format: "Lava-Test-Shell Test Definition 1.0" + description: "kvm benchmark." + maintainer: + - anders.roxell@linaro.org + os: + - openembedded + devices: + - arndale + scope: + - performance + - virtualization + +run: + steps: + - './common/scripts/kvm/test-kvm.sh benchmark ms' + - './common/scripts/parse_lmbench.sh kvm-log.txt ms result_guest_lmbench.log' + - 'sed -i "s|^|kvm-|g" result_guest_lmbench.log' + - 'cat result_guest_lmbench.log' + - 'lava-test-run-attach kvm-log.txt text/plain' + - 'lava-test-run-attach result_guest_lmbench.log text/plain' + +parse: + pattern: '^(?P<test_case_id>[^:]+):\s*(?P<measurement>[0-9.]+)\s+(?P<units>\w+)\s+(?P<result>\w+)' |