# 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 / submitte export TESTVERSION=1.2 # The path of the test below the package RELATIVE_PATH=performance/fs_mark # The relative path name to the test export TEST=$(TOPLEVEL_NAMESPACE)/$(RELATIVE_PATH) # Name of the tgz file that will be bundled in the rpm TARGET=fs_mark-3.2 FILES= $(METADATA) \ $(TARGET).tgz \ plot_1 \ plot_2 \ plot_3 \ plot_4 \ runtest.sh \ Makefile clean: $(RM) *~ rm $(METADATA) rm -rf $(TARGET) rh-tests-kernel-*.rpm rm -rf fs_mark $(TARGET).tgz run: build chmod +x ./runtest.sh ./runtest.sh build: $(METADATA) $(TARGET) make -C fs_mark cp plot_[1234] fs_mark $(TARGET).tgz: wget http://download.devel.redhat.com/qa/rhts/lookaside/$(TARGET).tgz $(TARGET): $(TARGET).tgz tar -zxvf $(TARGET).tgz # 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: Modified 3.2 version of \ Larry McVoy's lmbench program." >> $(METADATA) @echo "Path: $(TEST_DIR)" >> $(METADATA) @echo "TestTime: 80m" >> $(METADATA) @echo "TestVersion: $(TESTVERSION)" >> $(METADATA) @echo "Releases: RHEL4 RHELServer5 RHEL6 RHEL7 RedHatEnterpriseLinux7" >> $(METADATA) @echo "#Architectures: All" >> $(METADATA) @echo "Destructive: no" >> $(METADATA) @echo "Type: KernelTier1" >> $(METADATA) @echo "Priority: Normal" >> $(METADATA) @echo "RunFor: kernel" >> $(METADATA) @echo "Requires: kernel-devel" >> $(METADATA) @echo "Requires: gcc" >> $(METADATA) @echo "Requires: make" >> $(METADATA) @echo "Requires: glibc-static" >> $(METADATA) @echo "Requires: gnuplot" >> $(METADATA) @echo "Owner: Jeff Burke " >> $(METADATA) @echo "License: GPLv2" >> $(METADATA)