|
Than Ngo |
b7bcaa |
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
Than Ngo |
b7bcaa |
#
|
|
Than Ngo |
b7bcaa |
# Makefile of /CoreOS/patch/Sanity/upstream-test-suite
|
|
Than Ngo |
b7bcaa |
# Description: tests upstream test suite
|
|
Than Ngo |
b7bcaa |
# Author: Than Ngo <than@redhat.com>
|
|
Than Ngo |
b7bcaa |
#
|
|
Than Ngo |
b7bcaa |
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
Than Ngo |
b7bcaa |
#
|
|
Than Ngo |
b7bcaa |
# Copyright (c) 2019 Red Hat, Inc. All rights reserved.
|
|
Than Ngo |
b7bcaa |
#
|
|
Than Ngo |
b7bcaa |
# This copyrighted material is made available to anyone wishing
|
|
Than Ngo |
b7bcaa |
# to use, modify, copy, or redistribute it subject to the terms
|
|
Than Ngo |
b7bcaa |
# and conditions of the GNU General Public License version 2.
|
|
Than Ngo |
b7bcaa |
#
|
|
Than Ngo |
b7bcaa |
# This program is distributed in the hope that it will be
|
|
Than Ngo |
b7bcaa |
# useful, but WITHOUT ANY WARRANTY; without even the implied
|
|
Than Ngo |
b7bcaa |
# warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
|
|
Than Ngo |
b7bcaa |
# PURPOSE. See the GNU General Public License for more details.
|
|
Than Ngo |
b7bcaa |
#
|
|
Than Ngo |
b7bcaa |
# You should have received a copy of the GNU General Public
|
|
Than Ngo |
b7bcaa |
# License along with this program; if not, write to the Free
|
|
Than Ngo |
b7bcaa |
# Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
|
Than Ngo |
b7bcaa |
# Boston, MA 02110-1301, USA.
|
|
Than Ngo |
b7bcaa |
#
|
|
Than Ngo |
b7bcaa |
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
Than Ngo |
b7bcaa |
|
|
Than Ngo |
b7bcaa |
export TEST=/CoreOS/patch/Sanity/upstream-test-suite
|
|
Than Ngo |
b7bcaa |
export TESTVERSION=1.0
|
|
Than Ngo |
b7bcaa |
|
|
Than Ngo |
b7bcaa |
BUILT_FILES=
|
|
Than Ngo |
b7bcaa |
|
|
Than Ngo |
b7bcaa |
FILES=$(METADATA) runtest.sh Makefile PURPOSE
|
|
Than Ngo |
b7bcaa |
|
|
Than Ngo |
b7bcaa |
.PHONY: all install download clean
|
|
Than Ngo |
b7bcaa |
|
|
Than Ngo |
b7bcaa |
run: $(FILES) build
|
|
Than Ngo |
b7bcaa |
./runtest.sh
|
|
Than Ngo |
b7bcaa |
|
|
Than Ngo |
b7bcaa |
build: $(BUILT_FILES)
|
|
Than Ngo |
b7bcaa |
chmod a+x runtest.sh
|
|
Than Ngo |
b7bcaa |
|
|
Than Ngo |
b7bcaa |
clean:
|
|
Than Ngo |
b7bcaa |
rm -f *~ $(BUILT_FILES)
|
|
Than Ngo |
b7bcaa |
|
|
Than Ngo |
b7bcaa |
|
|
Than Ngo |
b7bcaa |
include /usr/share/rhts/lib/rhts-make.include
|
|
Than Ngo |
b7bcaa |
|
|
Than Ngo |
b7bcaa |
$(METADATA): Makefile
|
|
Than Ngo |
b7bcaa |
@echo "Owner: Than Ngo <than@redhat.com>" > $(METADATA)
|
|
Than Ngo |
b7bcaa |
@echo "Name: $(TEST)" >> $(METADATA)
|
|
Than Ngo |
b7bcaa |
@echo "TestVersion: $(TESTVERSION)" >> $(METADATA)
|
|
Than Ngo |
b7bcaa |
@echo "Path: $(TEST_DIR)" >> $(METADATA)
|
|
Than Ngo |
b7bcaa |
@echo "Description: Executes upstream test suite" >> $(METADATA)
|
|
Than Ngo |
b7bcaa |
@echo "Type: Sanity" >> $(METADATA)
|
|
Than Ngo |
b7bcaa |
@echo "TestTime: 30m" >> $(METADATA)
|
|
Than Ngo |
b7bcaa |
@echo "RunFor: doxygen" >> $(METADATA)
|
|
Than Ngo |
b7bcaa |
@echo "Requires: doxygen python3" >> $(METADATA)
|
|
Than Ngo |
b7bcaa |
@echo "Priority: Normal" >> $(METADATA)
|
|
Than Ngo |
b7bcaa |
@echo "License: GPLv2" >> $(METADATA)
|
|
Than Ngo |
b7bcaa |
@echo "Confidential: no" >> $(METADATA)
|
|
Than Ngo |
b7bcaa |
@echo "Destructive: no" >> $(METADATA)
|
|
Than Ngo |
b7bcaa |
@echo "Releases: -RHEL4 -RHELClient5 -RHELServer5" >> $(METADATA)
|
|
Than Ngo |
b7bcaa |
|
|
Than Ngo |
b7bcaa |
rhts-lint $(METADATA)
|