882bd4d
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
882bd4d
#
882bd4d
#   Makefile of /CoreOS/acpica-tools/acpica-tools-tests/include
882bd4d
#
882bd4d
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
882bd4d
#
882bd4d
#   Copyright (c) 2014 Red Hat, Inc.
882bd4d
#
882bd4d
#   This copyrighted material is made available to anyone wishing
882bd4d
#   to use, modify, copy, or redistribute it subject to the terms
882bd4d
#   and conditions of the GNU General Public License version 2.
882bd4d
#
882bd4d
#   This program is distributed in the hope that it will be
882bd4d
#   useful, but WITHOUT ANY WARRANTY; without even the implied
882bd4d
#   warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
882bd4d
#   PURPOSE. See the GNU General Public License for more details.
882bd4d
#
882bd4d
#   You should have received a copy of the GNU General Public
882bd4d
#   License along with this program; if not, write to the Free
882bd4d
#   Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
882bd4d
#   Boston, MA 02110-1301, USA.
882bd4d
#
882bd4d
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
882bd4d
882bd4d
AUTHOR=Mike Gahagan <mgahagan@redhat.com>
882bd4d
DESCRIPTION=This virtual test case provides a common set of functions for numerous test cases.
882bd4d
PACKAGE=acpica-tools
882bd4d
882bd4d
export TEST=/CoreOS/acpica-tools/acpica-tools-tests/include
882bd4d
export TESTVERSION=1.0
882bd4d
882bd4d
FILES=$(METADATA) Makefile PURPOSE *.sh 
882bd4d
882bd4d
.PHONY: all install download clean
882bd4d
882bd4d
run: $(FILES) build
882bd4d
882bd4d
build: $(BUILT_FILES)
882bd4d
	chmod a+x runtest.sh
882bd4d
882bd4d
clean:
882bd4d
	rm -f *~ $(BUILT_FILES) *.rpm
882bd4d
882bd4d
include /usr/share/rhts/lib/rhts-make.include
882bd4d
882bd4d
$(METADATA): Makefile
882bd4d
	@echo "Owner:        $(AUTHOR)"         > $(METADATA)
882bd4d
	@echo "Name:         $(TEST)"           >> $(METADATA)
882bd4d
	@echo "TestVersion:  $(TESTVERSION)"    >> $(METADATA)
882bd4d
	@echo "Path:         $(TEST_DIR)"       >> $(METADATA)
882bd4d
	@echo "Description:  $(DESCRIPTION)"    >> $(METADATA)
882bd4d
	@echo "Type:         Library"           >> $(METADATA)
882bd4d
	@echo "TestTime:     5m"                >> $(METADATA)
882bd4d
	@echo "Priority:     High"              >> $(METADATA)
882bd4d
	@echo "License:      GPLv2"             >> $(METADATA)
882bd4d
	@echo "Confidential: no"                >> $(METADATA)
882bd4d
	@echo "Destructive:  no"                >> $(METADATA)
882bd4d
	@echo "RunFor:       $(PACKAGE)"        >> $(METADATA)
882bd4d
	@echo "Requires:     $(PACKAGE)"        >> $(METADATA)
882bd4d
	@echo "Requires:     @developer-tools"  >> $(METADATA)
882bd4d
	@echo "Requires:     gcc"               >> $(METADATA)
882bd4d
	@echo "Requires:     rpm-build"         >> $(METADATA)
882bd4d
	@echo "Requires:     wget"              >> $(METADATA)
882bd4d
	rhts-lint $(METADATA)