Blame Regression/tar-testsuite/Makefile

b417179
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
b417179
#
b417179
#   Makefile of /CoreOS/tar/Regression/tar-testsuite
b417179
#   Description: TAR testsuite
b417179
#   Author: Branislav Blaskovic <bblaskov@redhat.com>
b417179
#
b417179
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
b417179
#
b417179
#   Copyright (c) 2012 Red Hat, Inc. All rights reserved.
b417179
#
b417179
#   This copyrighted material is made available to anyone wishing
b417179
#   to use, modify, copy, or redistribute it subject to the terms
b417179
#   and conditions of the GNU General Public License version 2.
b417179
#
b417179
#   This program is distributed in the hope that it will be
b417179
#   useful, but WITHOUT ANY WARRANTY; without even the implied
b417179
#   warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
b417179
#   PURPOSE. See the GNU General Public License for more details.
b417179
#
b417179
#   You should have received a copy of the GNU General Public
b417179
#   License along with this program; if not, write to the Free
b417179
#   Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
b417179
#   Boston, MA 02110-1301, USA.
b417179
#
b417179
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
b417179
b417179
export TEST=/CoreOS/tar/Regression/tar-testsuite
b417179
export TESTVERSION=1.0
b417179
b417179
BUILT_FILES=
b417179
b417179
FILES=$(METADATA) runtest.sh Makefile PURPOSE
b417179
b417179
.PHONY: all install download clean
b417179
b417179
run: $(FILES) build
b417179
	./runtest.sh
b417179
b417179
build: $(BUILT_FILES)
b417179
	test -x runtest.sh || chmod a+x runtest.sh
b417179
b417179
clean:
b417179
	rm -f *~ $(BUILT_FILES)
b417179
b417179
b417179
include /usr/share/rhts/lib/rhts-make.include
b417179
b417179
$(METADATA): Makefile
b417179
	@echo "Owner:           Branislav Blaskovic <bblaskov@redhat.com>" > $(METADATA)
b417179
	@echo "Name:            $(TEST)" >> $(METADATA)
b417179
	@echo "TestVersion:     $(TESTVERSION)" >> $(METADATA)
b417179
	@echo "Path:            $(TEST_DIR)" >> $(METADATA)
b417179
	@echo "Description:     TAR testsuite" >> $(METADATA)
b417179
	@echo "Type:            Regression" >> $(METADATA)
a348706
	@echo "TestTime:        120m" >> $(METADATA)
b417179
	@echo "RunFor:          tar" >> $(METADATA)
9bd9d9b
	@echo "Requires:        tar attr rpm-build gcc dnf-plugins-core yum-utils rsh" >> $(METADATA)
9bd9d9b
	@echo "Requires:        autoconf automake gettext texinfo libacl-devel policycoreutils" >> $(METADATA)
36025b3
	# temporary: https://bugzilla.redhat.com/show_bug.cgi?id=1643588
36025b3
	@echo "Requires:        wget" >> $(METADATA)
b417179
	@echo "Priority:        Normal" >> $(METADATA)
b417179
	@echo "License:         GPLv2" >> $(METADATA)
b417179
	@echo "Confidential:    no" >> $(METADATA)
b417179
	@echo "Destructive:     no" >> $(METADATA)
b417179
b417179
	rhts-lint $(METADATA)