Blame tests/upstream-testsuite/Makefile

75dc730
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
75dc730
#
75dc730
#   Makefile of /CoreOS/memcached/Sanity/upstream-testsuite
75dc730
#   Description: Test for BZ#1613690 (rebase memcached to 1.5.9)
75dc730
#   Author: Ondrej Mejzlik <omejzlik@redhat.com>
75dc730
#
75dc730
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
75dc730
#
75dc730
#   Copyright (c) 2019 Red Hat, Inc.
75dc730
#
75dc730
#   This program is free software: you can redistribute it and/or
75dc730
#   modify it under the terms of the GNU General Public License as
75dc730
#   published by the Free Software Foundation, either version 2 of
75dc730
#   the License, or (at your option) any later version.
75dc730
#
75dc730
#   This program is distributed in the hope that it will be
75dc730
#   useful, but WITHOUT ANY WARRANTY; without even the implied
75dc730
#   warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
75dc730
#   PURPOSE.  See the GNU General Public License for more details.
75dc730
#
75dc730
#   You should have received a copy of the GNU General Public License
75dc730
#   along with this program. If not, see http://www.gnu.org/licenses/.
75dc730
#
75dc730
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
75dc730
75dc730
export TEST=/CoreOS/memcached/Sanity/upstream-testsuite
75dc730
export TESTVERSION=1.0
75dc730
75dc730
BUILT_FILES=
75dc730
75dc730
FILES=$(METADATA) no-abort.patch certs.patch wait-times.patch runtest.sh Makefile PURPOSE
75dc730
75dc730
.PHONY: all install download clean
75dc730
75dc730
run: $(FILES) build
75dc730
	./runtest.sh
75dc730
75dc730
build: $(BUILT_FILES)
75dc730
	test -x runtest.sh || chmod a+x runtest.sh
75dc730
75dc730
clean:
75dc730
	rm -f *~ $(BUILT_FILES)
75dc730
75dc730
75dc730
include /usr/share/rhts/lib/rhts-make.include
75dc730
75dc730
$(METADATA): Makefile
75dc730
	@echo "Owner:           Ondrej Mejzlik <omejzlik@redhat.com>" > $(METADATA)
75dc730
	@echo "Name:            $(TEST)" >> $(METADATA)
75dc730
	@echo "TestVersion:     $(TESTVERSION)" >> $(METADATA)
75dc730
	@echo "Path:            $(TEST_DIR)" >> $(METADATA)
75dc730
	@echo "Description:     Test for BZ#1613690 (rebase memcached to 1.5.9)" >> $(METADATA)
75dc730
	@echo "Type:            Sanity" >> $(METADATA)
75dc730
	@echo "TestTime:        130m" >> $(METADATA)
75dc730
	@echo "RunFor:          memcached" >> $(METADATA)
75dc730
	@echo "Requires:        autoconf gcc cyrus-sasl-md5 cyrus-sasl-plain cyrus-sasl-devel perl-generators perl-Test-Harness perl-Test-Simple automake memcached rpm-build libevent-devel openssl-devel selinux-policy-devel" >> $(METADATA)
75dc730
	@echo "Priority:        Normal" >> $(METADATA)
75dc730
	@echo "License:         GPLv2+" >> $(METADATA)
75dc730
	@echo "Confidential:    no" >> $(METADATA)
75dc730
	@echo "Destructive:     no" >> $(METADATA)
75dc730
	@echo "Bug:             1613690" >> $(METADATA)
75dc730
	@echo "Releases:        -RHEL4 -RHELClient5 -RHELServer5 -RHEL6" >> $(METADATA)
75dc730
75dc730
	rhts-lint $(METADATA)