diff options
Diffstat (limited to 'kernel/tracepoints/operational/Makefile')
-rw-r--r-- | kernel/tracepoints/operational/Makefile | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/kernel/tracepoints/operational/Makefile b/kernel/tracepoints/operational/Makefile new file mode 100644 index 0000000..f20170e --- /dev/null +++ b/kernel/tracepoints/operational/Makefile @@ -0,0 +1,55 @@ +# The name of the package under test +PACKAGE_NAME=kernel + +# The toplevel namespace within which the test lives. +TOPLEVEL_NAMESPACE=/$(PACKAGE_NAME) + +# The version of the test rpm that gets +# created / submitted +export TESTVERSION=1.0 + +# The path of the test below the package +RELATIVE_PATH=tracepoints/operational + +# The relative path name to the test +export TEST=$(TOPLEVEL_NAMESPACE)/$(RELATIVE_PATH) + +# All files you want bundled into your rpm +FILES= $(METADATA) \ + runtest.sh \ + Makefile + +clean: + $(RM) *~ $(METADATA) + $(RM) rh-tests-kernel*.rpm + +run: $(METADATA) + ./runtest.sh + +# Include a global make rules file +include /usr/share/rhts/lib/rhts-make.include + +showmeta: $(METADATA) + @cat $(METADATA) + @rhts-lint $(METADATA) + +$(METADATA): + touch $(METADATA) + @echo "Name: $(TEST)" > $(METADATA) + @echo "Description: Ensure tracepoints are working" >> $(METADATA) + @echo "Path: $(TEST_DIR)" >> $(METADATA) + @echo "TestTime: 150m" >> $(METADATA) + @echo "TestVersion: $(TESTVERSION)" >> $(METADATA) + @echo "Releases: RHELServer5 RHEL6 Fedora16 RHEL7 RedHatEnterpriseLinux7" >> $(METADATA) + @echo "#Architectures: All" >> $(METADATA) + @echo "Destructive: no" >> $(METADATA) + @echo "Confidential: no" >> $(METADATA) + @echo "Priority: Normal" >> $(METADATA) + @echo "Type: KernelTier1" >> $(METADATA) + @echo "Requires: kernel-devel" >> $(METADATA) + @echo "Requires: systemtap" >> $(METADATA) + @echo "RunFor: kernel" >> $(METADATA) + @echo "RunFor: kernel-devel" >> $(METADATA) + @echo "RunFor: systemtap" >> $(METADATA) + @echo "License: GPLv2" >> $(METADATA) + @echo "Owner: Jeff Burke <jburke@redhat.com>" >> $(METADATA) |