diff options
author | Naresh Kamboju <naresh.kamboju@linaro.org> | 2014-07-17 23:17:34 +0530 |
---|---|---|
committer | Naresh Kamboju <naresh.kamboju@linaro.org> | 2014-07-17 23:17:34 +0530 |
commit | 78fecef995af1ab29db26fb70f7c86073569b274 (patch) | |
tree | 2ff36a2f053fcee056d981eb7b1b552d12de8e7e /ubuntu/uprobes_systemtap_test.yaml | |
parent | d79eb18793ee25f8eddd35a7264d9b2cede8c250 (diff) |
uprobes test: fixup
Signed-off-by: Naresh Kamboju <naresh.kamboju@linaro.org>
Diffstat (limited to 'ubuntu/uprobes_systemtap_test.yaml')
-rw-r--r-- | ubuntu/uprobes_systemtap_test.yaml | 64 |
1 files changed, 64 insertions, 0 deletions
diff --git a/ubuntu/uprobes_systemtap_test.yaml b/ubuntu/uprobes_systemtap_test.yaml new file mode 100644 index 0000000..f3a3a16 --- /dev/null +++ b/ubuntu/uprobes_systemtap_test.yaml @@ -0,0 +1,64 @@ +metadata: + name: uprobes_systemtap_test + format: "Lava-Test-Shell Test Definition 1.0" + description: "Run uprobes systemtap tests pre-requirement is install-uprobe-kernel-on-arndale.yaml" + maintainer: + - naresh.kamboju@linaro.org + os: + - ubuntu + scope: + - functional + devices: + - arndale + timeout: 720000 + +install: + steps: + - 'cat /proc/version' + - 'ls -l /lib/modules/`uname -r`/build/' + - 'cd /usr/src/' + - 'wget --no-check-certificate https://fedorahosted.org/releases/e/l/elfutils/0.159/elfutils-0.159.tar.bz2' + - 'tar -xvf elfutils-0.159.tar.bz2' + - 'wget --no-check-certificate https://sourceware.org/systemtap/ftp/releases/systemtap-2.5.tar.gz' + - 'tar -xvf systemtap-2.5.tar.gz' + - 'cd systemtap-2.5' + - 'cp /usr/share/dejagnu/* . -a' + - 'mv testsuite/systemtap.base/poll_map.exp testsuite/systemtap.base/poll_map.exp.back' + - 'mv testsuite/systemtap.base/pr14546.exp testsuite/systemtap.base/pr14546.exp.back' + - 'mv testsuite/systemtap.base/pr10854.exp testsuite/systemtap.base/pr10854.exp.back' + - 'mv testsuite/systemtap.base/implicitptr.exp testsuite/systemtap.base/implicitptr.exp.back' + - 'mv testsuite/systemtap.base/probefunc.exp testsuite/systemtap.base/probefunc.exp.back' + - 'mv testsuite/systemtap.base/sdt_global_var.exp testsuite/systemtap.base/sdt_global_var.exp.back' + - 'mv testsuite/systemtap.base/target_set_thread.exp testsuite/systemtap.base/target_set_thread.exp.back' + - 'mv testsuite/systemtap.unprivileged/unprivileged_myproc.exp testsuite/systemtap.unprivileged/unprivileged_myproc.exp.back' + - './configure --prefix=/usr/local/ --with-elfutils=../elfutils-0.159' + - 'make all' + - 'make install' + deps: + - build-essential + - m4 + - dejagnu + - bzip2 + - wget + - gettext + - openssh-server + - expect + - xz-utils + +run: + steps: + - 'cd /usr/src/systemtap-2.5' + - 'make installcheck' + - 'cat testsuite/systemtap.sum' + - "tar -zcvf systemtap_results.tar.gz testsuite/systemtap.sum testsuite/systemtap.log" + - "lava-test-run-attach systemtap-results.tar.gz application/x-gtar" + +parse: + pattern: "(?P<result>PASS|FAIL|KFAIL|XFAIL|UNTESTED|UNSUPPORTED): (?P<test_case_id>[ ().0-9A-Za-z-_/]*)" + fixupdict: + PASS: pass + FAIL: fail + KFAIL: fail + XFAIL: pass + UNTESTED: skip + UNSUPPORTED: skip |