naccyde / rpms / systemd

Forked from rpms/systemd a year ago
Clone
Petr Šabata d9a596
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Petr Šabata d9a596
#
Petr Šabata d9a596
#   Makefile of /CoreOS/iproute/Sanity/bridge-utility
Petr Šabata d9a596
#   Description: Test basic bridge funcionality
Petr Šabata d9a596
#   Author: David Spurek <dspurek@redhat.com>
Petr Šabata d9a596
#
Petr Šabata d9a596
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Petr Šabata d9a596
#
Petr Šabata d9a596
#   Copyright (c) 2013 Red Hat, Inc. All rights reserved.
Petr Šabata d9a596
#
Petr Šabata d9a596
#   This copyrighted material is made available to anyone wishing
Petr Šabata d9a596
#   to use, modify, copy, or redistribute it subject to the terms
Petr Šabata d9a596
#   and conditions of the GNU General Public License version 2.
Petr Šabata d9a596
#
Petr Šabata d9a596
#   This program is distributed in the hope that it will be
Petr Šabata d9a596
#   useful, but WITHOUT ANY WARRANTY; without even the implied
Petr Šabata d9a596
#   warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
Petr Šabata d9a596
#   PURPOSE. See the GNU General Public License for more details.
Petr Šabata d9a596
#
Petr Šabata d9a596
#   You should have received a copy of the GNU General Public
Petr Šabata d9a596
#   License along with this program; if not, write to the Free
Petr Šabata d9a596
#   Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
Petr Šabata d9a596
#   Boston, MA 02110-1301, USA.
Petr Šabata d9a596
#
Petr Šabata d9a596
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Petr Šabata d9a596
Petr Šabata d9a596
export TEST=/CoreOS/iproute/Sanity/bridge-utility
Petr Šabata d9a596
export TESTVERSION=1.0
Petr Šabata d9a596
Petr Šabata d9a596
BUILT_FILES=
Petr Šabata d9a596
Petr Šabata d9a596
FILES=$(METADATA) runtest.sh Makefile PURPOSE
Petr Šabata d9a596
Petr Šabata d9a596
.PHONY: all install download clean
Petr Šabata d9a596
Petr Šabata d9a596
run: $(FILES) build
Petr Šabata d9a596
	./runtest.sh
Petr Šabata d9a596
Petr Šabata d9a596
build: $(BUILT_FILES)
Petr Šabata d9a596
	test -x runtest.sh || chmod a+x runtest.sh
Petr Šabata d9a596
Petr Šabata d9a596
clean:
Petr Šabata d9a596
	rm -f *~ $(BUILT_FILES)
Petr Šabata d9a596
Petr Šabata d9a596
Petr Šabata d9a596
include /usr/share/rhts/lib/rhts-make.include
Petr Šabata d9a596
Petr Šabata d9a596
$(METADATA): Makefile
Petr Šabata d9a596
	@echo "Owner:           David Spurek <dspurek@redhat.com>" > $(METADATA)
Petr Šabata d9a596
	@echo "Name:            $(TEST)" >> $(METADATA)
Petr Šabata d9a596
	@echo "TestVersion:     $(TESTVERSION)" >> $(METADATA)
Petr Šabata d9a596
	@echo "Path:            $(TEST_DIR)" >> $(METADATA)
Petr Šabata d9a596
	@echo "Description:     Test basic bridge funcionality" >> $(METADATA)
Petr Šabata d9a596
	@echo "Type:            Sanity" >> $(METADATA)
Petr Šabata d9a596
	@echo "TestTime:        15m" >> $(METADATA)
Petr Šabata d9a596
	@echo "RunFor:          iproute" >> $(METADATA)
Petr Šabata d9a596
	@echo "Requires:        iproute" >> $(METADATA)
Petr Šabata d9a596
	@echo "Requires:        bridge-utils" >> $(METADATA)
Petr Šabata d9a596
	@echo "Priority:        Normal" >> $(METADATA)
Petr Šabata d9a596
	@echo "License:         GPLv2" >> $(METADATA)
Petr Šabata d9a596
	@echo "Confidential:    no" >> $(METADATA)
Petr Šabata d9a596
	@echo "Destructive:     no" >> $(METADATA)
Petr Šabata d9a596
Petr Šabata d9a596
	rhts-lint $(METADATA)