Drop the old STI tests.
Currently OSCI doesn't allow for combining STI and FMF tests. Provided FMF tests are a superset of the STI test this commit drops. Related: rhbz2025054
This commit is contained in:
parent
a391d0d7fb
commit
6405633026
@ -1,38 +0,0 @@
|
|||||||
TOPLEVEL_NAMESPACE=fedora
|
|
||||||
PACKAGE_NAME=systemtap
|
|
||||||
RELATIVE_PATH=Sanity/dejagnu-smoketest
|
|
||||||
export TESTVERSION=1.0
|
|
||||||
export TEST=/$(TOPLEVEL_NAMESPACE)/$(PACKAGE_NAME)/$(RELATIVE_PATH)
|
|
||||||
|
|
||||||
.PHONY: all install download clean
|
|
||||||
BUILT_FILES=
|
|
||||||
FILES=$(METADATA) runtest.sh Makefile PURPOSE
|
|
||||||
|
|
||||||
run: $(FILES) build
|
|
||||||
./runtest.sh
|
|
||||||
|
|
||||||
build: $(BUILT_FILES)
|
|
||||||
chmod a+x ./runtest.sh
|
|
||||||
|
|
||||||
clean:
|
|
||||||
rm -f *~ *.rpm $(BUILT_FILES)
|
|
||||||
|
|
||||||
include /usr/share/rhts/lib/rhts-make.include
|
|
||||||
|
|
||||||
# Generate the testinfo.desc here:
|
|
||||||
$(METADATA): Makefile
|
|
||||||
@touch $(METADATA)
|
|
||||||
# Change to the test owner's name
|
|
||||||
@echo "Owner: Frank Ch. Eigler <fche@redhat.com>" > $(METADATA)
|
|
||||||
@echo "Name: $(TEST)" >> $(METADATA)
|
|
||||||
@echo "Path: $(TEST_DIR)" >> $(METADATA)
|
|
||||||
@echo "TestVersion: $(TESTVERSION)" >> $(METADATA)
|
|
||||||
@echo "Type: Sanity" >> $(METADATA)
|
|
||||||
@echo "Description: smoke test" >> $(METADATA)
|
|
||||||
@echo "TestTime: 10m" >> $(METADATA)
|
|
||||||
@echo "RunFor: $(PACKAGE_NAME)" >> $(METADATA)
|
|
||||||
@echo "Requires: $(PACKAGE_NAME)" >> $(METADATA)
|
|
||||||
@echo "License: GPLv2" >> $(METADATA)
|
|
||||||
|
|
||||||
# You may need other fields here; see the documentation
|
|
||||||
rhts-lint $(METADATA)
|
|
@ -1,3 +0,0 @@
|
|||||||
Test Name: dejagnu-smoketest
|
|
||||||
Author:
|
|
||||||
Short Description: Run a minimal systemtap testsuite
|
|
@ -1,17 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
|
|
||||||
set -e
|
|
||||||
set -x
|
|
||||||
|
|
||||||
dnf debuginfo-install -y kernel
|
|
||||||
|
|
||||||
# on Fedora CI, can only assume about 1GB RAM to run these tests
|
|
||||||
|
|
||||||
stap -L 'process("stap").mark("*")' | grep pass
|
|
||||||
# stap -L 'kernel.trace("sys_enter")'
|
|
||||||
stap -v --example helloworld.stp
|
|
||||||
stap -v -T 10 -p4 -e 'probe kernel.function("do_exit") {println($$vars)}'
|
|
||||||
# stap -v -T 10 -e 'probe syscall.* ? {println(argstr)}'
|
|
||||||
|
|
||||||
echo
|
|
||||||
echo RESULT: PASS
|
|
@ -1,11 +0,0 @@
|
|||||||
---
|
|
||||||
- hosts: localhost
|
|
||||||
roles:
|
|
||||||
- role: standard-test-beakerlib
|
|
||||||
tags:
|
|
||||||
- classic
|
|
||||||
tests:
|
|
||||||
- dejagnu-smoketest
|
|
||||||
required_packages:
|
|
||||||
- systemtap-testsuite
|
|
||||||
- kernel-devel
|
|
Loading…
Reference in New Issue
Block a user