diff options
author | Zi Shen Lim <zishen.lim@linaro.org> | 2013-08-26 18:41:41 -0700 |
---|---|---|
committer | Fathi Boudra <fathi.boudra@linaro.org> | 2013-08-28 11:10:19 +0300 |
commit | 311e8044f4d10b5e488d23d566d97ba4fbba98f3 (patch) | |
tree | 4de1abe08c0d56cc18f2ed639a42f7481248d2e6 /openembedded | |
parent | e85f22c318b7a14d1cdff428351b1636dbf38d81 (diff) |
OVS: build and run testsuite
Signed-off-by: Zi Shen Lim <zishen.lim@linaro.org>
Acked-by: Fathi Boudra <fathi.boudra@linaro.org>
Diffstat (limited to 'openembedded')
-rw-r--r-- | openembedded/openvswitch-lng.yaml | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/openembedded/openvswitch-lng.yaml b/openembedded/openvswitch-lng.yaml new file mode 100644 index 0000000..c5b286c --- /dev/null +++ b/openembedded/openvswitch-lng.yaml @@ -0,0 +1,37 @@ +metadata: + name: openvswitch-lng + format: "Lava-Test-Shell Test Definition 1.0" + description: "Build and run OVS testsuite." + +install: + deps: + - git + - build-essential + - automake + - libtool + - python + git-repos: + - git://git.linaro.org/people/zishen.lim/openvswitch.git + steps: + - 'cd openvswitch' + - './boot.sh' + - './configure' + - 'make' + +run: + steps: + - 'cd openvswitch' + - 'git clone --depth 1 git://git.linaro.org/people/zishen.lim/ci.git ci' + - 'ci/openvswitch-run.sh' + +# We use openvswitch-run.sh (above) to run the testsuite, +# parse the testsuite results and output the results +# in a clean form that can be easily parsed by LAVA (below). + +parse: + pattern: "^(?P<result>(PASS|FAIL|SKIP)):\\s+(?P<test_case_id>.+)" + fixupdict: + PASS: pass + FAIL: fail + SKIP: skip + |