Blame tests/ip-tunnel-sanity-test/Makefile

Petr Šabata d9a596
#!/bin/bash
Petr Šabata d9a596
# SPDX-License-Identifier: LGPL-2.1+
Petr Šabata d9a596
# ~~~
Petr Šabata d9a596
#   runtest.sh of /CoreOS/iproute/Sanity/ip-tunnel-sanity-test
Petr Šabata d9a596
#   Description: Test basic ip tunnel funcionality
Petr Šabata d9a596
#
Petr Šabata d9a596
#   Author: Susant Sahani <susant@redhat.com>
Petr Šabata d9a596
#   Copyright (c) 2018 Red Hat, Inc.
Petr Šabata d9a596
#~~~
Petr Šabata d9a596
Petr Šabata d9a596
export TEST=/CoreOS/iproute/Sanity/ip-tunnel-sanity-test
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:           Susant Sahani <susant@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 ip tunnel 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 "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)