f1706ae
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
f1706ae
#
f1706ae
#   Makefile of /CoreOS/libgcrypt/smoke-test
f1706ae
#   Description: Test calls upstream test suite.
f1706ae
#   Author: Ondrej Moris <omoris@redhat.com>
f1706ae
#
f1706ae
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
f1706ae
#
f1706ae
#   Copyright (c) 2010 Red Hat, Inc. All rights reserved.
f1706ae
#
f1706ae
#   This copyrighted material is made available to anyone wishing
f1706ae
#   to use, modify, copy, or redistribute it subject to the terms
f1706ae
#   and conditions of the GNU General Public License version 2.
f1706ae
#
f1706ae
#   This program is distributed in the hope that it will be
f1706ae
#   useful, but WITHOUT ANY WARRANTY; without even the implied
f1706ae
#   warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
f1706ae
#   PURPOSE. See the GNU General Public License for more details.
f1706ae
#
f1706ae
#   You should have received a copy of the GNU General Public
f1706ae
#   License along with this program; if not, write to the Free
f1706ae
#   Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
f1706ae
#   Boston, MA 02110-1301, USA.
f1706ae
#
f1706ae
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
f1706ae
f1706ae
export TEST=/CoreOS/libgcrypt/smoke-test
f1706ae
export TESTVERSION=1.0
f1706ae
f1706ae
BUILT_FILES=
f1706ae
f1706ae
FILES=$(METADATA) runtest.sh Makefile PURPOSE
f1706ae
f1706ae
.PHONY: all install download clean
f1706ae
f1706ae
run: $(FILES) build
f1706ae
	./runtest.sh
f1706ae
f1706ae
build: $(BUILT_FILES)
f1706ae
	chmod a+x runtest.sh
f1706ae
f1706ae
clean:
f1706ae
	rm -f *~ $(BUILT_FILES)
f1706ae
f1706ae
f1706ae
include /usr/share/rhts/lib/rhts-make.include
f1706ae
f1706ae
$(METADATA): Makefile
f1706ae
	@echo "Owner:           Ondrej Moris <omoris@redhat.com>" > $(METADATA)
f1706ae
	@echo "Name:            $(TEST)" >> $(METADATA)
f1706ae
	@echo "TestVersion:     $(TESTVERSION)" >> $(METADATA)
f1706ae
	@echo "Path:            $(TEST_DIR)" >> $(METADATA)
f1706ae
	@echo "Description:     Test calls upstream test suite." >> $(METADATA)
f1706ae
	@echo "Type:            Sanity" >> $(METADATA)
f1706ae
	@echo "TestTime:        15m" >> $(METADATA)
f1706ae
	@echo "RunFor:          libgcrypt" >> $(METADATA)
f1706ae
	@echo "Requires:        libgcrypt" >> $(METADATA)
f1706ae
	@echo "Requires:        nfs-utils" >> $(METADATA)
f1706ae
	@echo "Requires:        rpm-build" >> $(METADATA)
f1706ae
	@echo "Requires:        gawk" >> $(METADATA)
f1706ae
	@echo "Requires:        gcc-c++ fipscheck" >> $(METADATA)
0401151
	@echo "Requires:        libgpg-error-devel wget" >> $(METADATA)
f1706ae
	@echo "Requires:        pkgconfig texinfo libselinux-utils" >> $(METADATA)
f1706ae
	@echo "Releases:        -RHEL3 -RHEL4" >> $(METADATA)
f1706ae
	@echo "Priority:        Normal" >> $(METADATA)
0401151
	@echo "Architectures:   i386 x86_64 s390x ia64" >> $(METADATA)
f1706ae
	@echo "License:         GPLv2" >> $(METADATA)
f1706ae
	@echo "Confidential:    no" >> $(METADATA)
f1706ae
	@echo "Destructive:     no" >> $(METADATA)
f1706ae
f1706ae
	rhts-lint $(METADATA)