summaryrefslogtreecommitdiff
path: root/ubuntu
diff options
context:
space:
mode:
authorNaresh Kamboju <naresh.kamboju@linaro.org>2015-07-23 12:23:10 +0530
committerNaresh Kamboju <naresh.kamboju@linaro.org>2015-07-23 12:24:16 +0530
commitab38da46eb5f79c0e7eef7a7c0a4c9cc2abac86f (patch)
tree7aab67969942f2b3aac0da3379d7661d997d0fd2 /ubuntu
parent0b22389b1f484a94daac72c2d190a0d376cb4ccb (diff)
downloadtest-definitions-pipe-ab38da46eb5f79c0e7eef7a7c0a4c9cc2abac86f.tar.gz
uprobes: clone systemtap and elfutils
Change-Id: I43afd6ae51573ba8d3b8f29770a0064e78f0405d Signed-off-by: Naresh Kamboju <naresh.kamboju@linaro.org>
Diffstat (limited to 'ubuntu')
-rw-r--r--ubuntu/native-uprobes-systemtap-test.yaml14
1 files changed, 7 insertions, 7 deletions
diff --git a/ubuntu/native-uprobes-systemtap-test.yaml b/ubuntu/native-uprobes-systemtap-test.yaml
index bcaaa57..79cf643 100644
--- a/ubuntu/native-uprobes-systemtap-test.yaml
+++ b/ubuntu/native-uprobes-systemtap-test.yaml
@@ -23,16 +23,15 @@ install:
- openssh-server
- expect
- xz-utils
+ - git
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'
+ - 'git clone git://git.fedorahosted.org/git/elfutils.git'
+ - 'git clone git://sourceware.org/git/systemtap.git'
+ - 'cd systemtap'
- 'cp /usr/share/dejagnu/* . -a'
- 'echo "skip tests which are known to hang"'
- 'mv testsuite/systemtap.base/poll_map.exp testsuite/systemtap.base/poll_map.exp.back'
@@ -43,13 +42,14 @@ install:
- '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'
+ - './configure --prefix=/usr/local/ --with-elfutils=../elfutils'
- 'make all'
- 'make install'
+ - 'make clean'
run:
steps:
- 'lava-test-case systemtap-make-install --result pass'
- - 'cd /usr/src/systemtap-2.5'
+ - 'cd /usr/src/systemtap'
- 'make installcheck'
- 'lava-test-case systemtap-make-installcheck --result pass'
- 'cat testsuite/systemtap.sum'