|
|
8da017 |
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
|
8da017 |
#
|
|
|
8da017 |
# Makefile of tests/Run-internal-BIND-test-suite
|
|
|
8da017 |
# Description: Run internal BIND test suite
|
|
|
8da017 |
# Author: Martin Cermak <mcermak@redhat.com>
|
|
|
8da017 |
# Author: Petr Mensik <pemensik@redhat.com>
|
|
|
8da017 |
#
|
|
|
8da017 |
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
|
8da017 |
#
|
|
|
8da017 |
# Copyright (c) 2010 Red Hat, Inc. All rights reserved.
|
|
|
8da017 |
#
|
|
|
8da017 |
# This copyrighted material is made available to anyone wishing
|
|
|
8da017 |
# to use, modify, copy, or redistribute it subject to the terms
|
|
|
8da017 |
# and conditions of the GNU General Public License version 2.
|
|
|
8da017 |
#
|
|
|
8da017 |
# This program is distributed in the hope that it will be
|
|
|
8da017 |
# useful, but WITHOUT ANY WARRANTY; without even the implied
|
|
|
8da017 |
# warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
|
|
|
8da017 |
# PURPOSE. See the GNU General Public License for more details.
|
|
|
8da017 |
#
|
|
|
8da017 |
# You should have received a copy of the GNU General Public
|
|
|
8da017 |
# License along with this program; if not, write to the Free
|
|
|
8da017 |
# Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
|
|
8da017 |
# Boston, MA 02110-1301, USA.
|
|
|
8da017 |
#
|
|
|
8da017 |
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
|
8da017 |
|
|
|
8da017 |
export TEST=tests/Run-internal-BIND-test-suite
|
|
|
8da017 |
export TESTVERSION=1.3
|
|
|
8da017 |
|
|
|
8da017 |
BUILT_FILES=
|
|
|
8da017 |
|
|
|
8da017 |
FILES=$(METADATA) runtest.sh Makefile PURPOSE knownerror* setup-named-softhsm.sh bind-systest-filter.sh
|
|
|
8da017 |
|
|
|
8da017 |
.PHONY: all install download clean
|
|
|
8da017 |
|
|
|
8da017 |
run: $(FILES) build
|
|
|
8da017 |
./runtest.sh
|
|
|
8da017 |
|
|
|
8da017 |
build: $(BUILT_FILES)
|
|
|
8da017 |
chmod a+x runtest.sh
|
|
|
8da017 |
|
|
|
8da017 |
clean:
|
|
|
8da017 |
rm -f *~ $(BUILT_FILES)
|
|
|
8da017 |
|
|
|
8da017 |
|
|
|
8da017 |
include /usr/share/rhts/lib/rhts-make.include
|
|
|
8da017 |
|
|
|
8da017 |
$(METADATA): Makefile
|
|
|
8da017 |
@echo "Owner: Martin Cermak <mcermak@redhat.com>" > $(METADATA)
|
|
|
8da017 |
@echo "Name: $(TEST)" >> $(METADATA)
|
|
|
8da017 |
@echo "TestVersion: $(TESTVERSION)" >> $(METADATA)
|
|
|
8da017 |
@echo "Path: $(TEST_DIR)" >> $(METADATA)
|
|
|
8da017 |
@echo "Description: Run internal BIND test suite" >> $(METADATA)
|
|
|
8da017 |
@echo "Type: Sanity" >> $(METADATA)
|
|
|
8da017 |
@echo "TestTime: 8h" >> $(METADATA)
|
|
|
8da017 |
@echo "RunFor: bind" >> $(METADATA)
|
|
|
8da017 |
@echo "Requires: bind rpm-build bind-utils" >> $(METADATA)
|
|
|
8da017 |
@echo "Requires: perl-Net-DNS perl-Net-DNS-Nameserver" >> $(METADATA)
|
|
|
5aee3f |
@echo "Requires: perl-Time-HiRes" >> $(METADATA)
|
|
|
8da017 |
@echo "Requires: bind-pkcs11 bind-pkcs11-utils softhsm" >> $(METADATA)
|
|
|
8da017 |
@echo "Requires: openssl-devel libtool autoconf" >> $(METADATA)
|
|
|
7eb2cf |
# Try to satisfy all build dependencies from here
|
|
|
7eb2cf |
@echo "Requires: bind-devel" >> $(METADATA)
|
|
|
7eb2cf |
@echo "Requires: net-tools" >> $(METADATA)
|
|
|
8da017 |
@echo "Requires: dnf-utils" >> $(METADATA)
|
|
|
7eb2cf |
@echo "Requires: kyua" >> $(METADATA)
|
|
|
7eb2cf |
@echo "Requires: libcmocka-devel" >> $(METADATA)
|
|
|
7eb2cf |
# Obsolete, uses cmocka
|
|
|
7eb2cf |
# @echo "Requires: libatf-c gcc-c++" >> $(METADATA)
|
|
|
8da017 |
@echo "Priority: Normal" >> $(METADATA)
|
|
|
8da017 |
@echo "License: GPLv2" >> $(METADATA)
|
|
|
8da017 |
@echo "Confidential: no" >> $(METADATA)
|
|
|
8da017 |
@echo "Destructive: no" >> $(METADATA)
|
|
|
8da017 |
@echo "Bug: 642970" >> $(METADATA)
|
|
|
8da017 |
|
|
|
8da017 |
rhts-lint $(METADATA)
|