CI experiment
This commit is contained in:
parent
ddcf2c9e17
commit
d09f6eaf35
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,3 +1,4 @@
|
|||||||
|
*~
|
||||||
/systemtap-3.1.tar.gz
|
/systemtap-3.1.tar.gz
|
||||||
/systemtap-3.2-0.20170321git272146660f54.tar.gz
|
/systemtap-3.2-0.20170321git272146660f54.tar.gz
|
||||||
/systemtap-3.2-0.20170406git83d186dc7f5c.tar.gz
|
/systemtap-3.2-0.20170406git83d186dc7f5c.tar.gz
|
||||||
|
3
tests/dejagnu-smoketest/PURPOSE
Normal file
3
tests/dejagnu-smoketest/PURPOSE
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
Test Name: dejagnu-smoketest
|
||||||
|
Author:
|
||||||
|
Short Description: Run a minimal systemtap testsuite
|
11
tests/dejagnu-smoketest/runtest.sh
Executable file
11
tests/dejagnu-smoketest/runtest.sh
Executable file
@ -0,0 +1,11 @@
|
|||||||
|
#! /bin/sh
|
||||||
|
|
||||||
|
set -e
|
||||||
|
cd /usr/share/systemtap/testsuite
|
||||||
|
make installcheck RUNTESTFLAGS=proc_by_pid.exp
|
||||||
|
cat systemtap.sum | sed -ne '/systemtap.Summary/,$ p' | tee systemtap.sum.results
|
||||||
|
if grep -q unexpected systemtap.sum.results ; then
|
||||||
|
exit 0
|
||||||
|
else
|
||||||
|
exit 1
|
||||||
|
fi
|
12
tests/tests.yml
Normal file
12
tests/tests.yml
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
---
|
||||||
|
- hosts: localhost
|
||||||
|
roles:
|
||||||
|
- role: standard-test-beakerlib
|
||||||
|
tags:
|
||||||
|
- classic
|
||||||
|
tests:
|
||||||
|
- dejagnu-smoketest
|
||||||
|
required_packages:
|
||||||
|
- systemtap-testsuite
|
||||||
|
- kernel-debuginfo
|
||||||
|
- kernel-devel
|
Loading…
Reference in New Issue
Block a user