projects
/
lttng-ci.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
jjb: babeltrace: ignore shellcheck warnings
[lttng-ci.git]
/
lava
/
system-tests
/
kernel-tests.yml
diff --git
a/lava/system-tests/kernel-tests.yml
b/lava/system-tests/kernel-tests.yml
index 770db3e616831be4e28469c813c3340d1d004571..071cb81ae24b5df6f2c6576beba485bf1f34ddf1 100644
(file)
--- a/
lava/system-tests/kernel-tests.yml
+++ b/
lava/system-tests/kernel-tests.yml
@@
-4,26
+4,18
@@
metadata:
description: "Run kernel test suite"
params:
JENKINS_BUILD_ID: "invalid_jenkins_build_id"
description: "Run kernel test suite"
params:
JENKINS_BUILD_ID: "invalid_jenkins_build_id"
-
-install:
- deps:
- - curl
- git-repos:
- - url: https://github.com/lttng/lttng-ci
- destination: ci
- branch: master
+ LTTNG_VERSION_STRING: "invalid_version_string"
+run:
steps:
steps:
+ - apt install -y curl
+ - git clone https://github.com/lttng/lttng-ci ci
- export TMPDIR="/tmp"
- export TMPDIR="/tmp"
- - ulimit -c unlimited
- mkdir -p coredump
- echo "$(pwd)/coredump/core.%e.%p.%h.%t" > /proc/sys/kernel/core_pattern
- mkdir -p coredump
- echo "$(pwd)/coredump/core.%e.%p.%h.%t" > /proc/sys/kernel/core_pattern
-run:
- steps:
+ - ulimit -c unlimited
- source /root/lttngvenv/activate
- pushd /root/lttngvenv/src/lttng-tools
- lava-test-case build-test-suite --shell "make"
- source /root/lttngvenv/activate
- pushd /root/lttngvenv/src/lttng-tools
- lava-test-case build-test-suite --shell "make"
- - cd tests
- - lava-test-case run-tests --shell "prove --nocolor --verbose --merge --exec '' - < root_regression"
- - popd
+ - lava-test-case run-tests --shell "$(dirs -l +1)/ci/scripts/system-tests/run-test-suites.sh ${LTTNG_VERSION_STRING}"
- tar czf coredump.tar.gz coredump
- ./ci/lava/upload_artifact.sh coredump.tar.gz coredump.tar.gz "results/${JENKINS_BUILD_ID}/${TESTRUN_ID}-coredump.tar.gz"
- tar czf coredump.tar.gz coredump
- ./ci/lava/upload_artifact.sh coredump.tar.gz coredump.tar.gz "results/${JENKINS_BUILD_ID}/${TESTRUN_ID}-coredump.tar.gz"
This page took
0.02317 seconds
and
4
git commands to generate.