summaryrefslogtreecommitdiffstats
path: root/kernel/tracepoints/operational/Makefile
blob: f20170ea87cfd7a4b90058d52b9b70cd1cd62885 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
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)