psss / rpms / annobin

Forked from rpms/annobin 3 years ago
Clone

Blame tests/Regression/lto-preprocessor-options/Makefile

8e0683c
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
8e0683c
#
8e0683c
#   Makefile of /tools/annobin/Regression/lto-preprocessor-options
8e0683c
#   Description: lto-preprocessor-options
8e0683c
#   Author: Martin Cermak <mcermak@redhat.com>
8e0683c
#
8e0683c
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
8e0683c
#
8e0683c
#   Copyright (c) 2020 Red Hat, Inc.
8e0683c
#
8e0683c
#   This program is free software: you can redistribute it and/or
8e0683c
#   modify it under the terms of the GNU General Public License as
8e0683c
#   published by the Free Software Foundation, either version 2 of
8e0683c
#   the License, or (at your option) any later version.
8e0683c
#
8e0683c
#   This program is distributed in the hope that it will be
8e0683c
#   useful, but WITHOUT ANY WARRANTY; without even the implied
8e0683c
#   warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
8e0683c
#   PURPOSE.  See the GNU General Public License for more details.
8e0683c
#
8e0683c
#   You should have received a copy of the GNU General Public License
8e0683c
#   along with this program. If not, see http://www.gnu.org/licenses/.
8e0683c
#
8e0683c
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
8e0683c
8e0683c
export TEST=/tools/annobin/Regression/lto-preprocessor-options
8e0683c
export TESTVERSION=1.0
8e0683c
8e0683c
BUILT_FILES=
8e0683c
8e0683c
FILES=$(METADATA) runtest.sh Makefile PURPOSE
8e0683c
8e0683c
.PHONY: all install download clean
8e0683c
8e0683c
run: $(FILES) build
8e0683c
	./runtest.sh
8e0683c
8e0683c
build: $(BUILT_FILES)
8e0683c
	test -x runtest.sh || chmod a+x runtest.sh
8e0683c
8e0683c
clean:
8e0683c
	rm -f *~ $(BUILT_FILES)
8e0683c
8e0683c
8e0683c
include /usr/share/rhts/lib/rhts-make.include
8e0683c
8e0683c
$(METADATA): Makefile
8e0683c
	@echo "Owner:           Martin Cermak <mcermak@redhat.com>" > $(METADATA)
8e0683c
	@echo "Name:            $(TEST)" >> $(METADATA)
8e0683c
	@echo "TestVersion:     $(TESTVERSION)" >> $(METADATA)
8e0683c
	@echo "Path:            $(TEST_DIR)" >> $(METADATA)
8e0683c
	@echo "Description:     lto-preprocessor-options" >> $(METADATA)
8e0683c
	@echo "Type:            Regression" >> $(METADATA)
8e0683c
	@echo "TestTime:        48h" >> $(METADATA)
8e0683c
	@echo "RunFor:          annobin" >> $(METADATA)
8e0683c
	@echo "Requires:        annobin annobin-annocheck redhat-rpm-config" >> $(METADATA)
8e0683c
	@echo "Priority:        Normal" >> $(METADATA)
8e0683c
	@echo "License:         GPLv2+" >> $(METADATA)
8e0683c
	@echo "Confidential:    no" >> $(METADATA)
8e0683c
	@echo "Destructive:     no" >> $(METADATA)
8e0683c
	@echo "Bug:             1743635" >> $(METADATA)
8e0683c
	@echo "Releases:        -RHEL4 -RHEL6 -RHEL7 -RHELClient5 -RHELServer5" >> $(METADATA)
8e0683c
8e0683c
	rhts-lint $(METADATA)