Blame tests/bz672959-RFE-Integrate-valgrind-with-gdb-possibly-through/Makefile

Alexandra Hájková c043c4
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Alexandra Hájková c043c4
#
Alexandra Hájková c043c4
#   Makefile of /tools/valgrind/Sanity/bz672959-RFE-Integrate-valgrind-with-gdb-possibly-through
Alexandra Hájková c043c4
#   Description: Test for BZ#672959 ([RFE] Integrate valgrind with gdb possibly through)
Alexandra Hájková c043c4
#   Author: Miroslav Franc <mfranc@redhat.com>
Alexandra Hájková c043c4
#
Alexandra Hájková c043c4
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Alexandra Hájková c043c4
#
Alexandra Hájková c043c4
#   Copyright (c) 2012 Red Hat, Inc. All rights reserved.
Alexandra Hájková c043c4
#
Alexandra Hájková c043c4
#   This copyrighted material is made available to anyone wishing
Alexandra Hájková c043c4
#   to use, modify, copy, or redistribute it subject to the terms
Alexandra Hájková c043c4
#   and conditions of the GNU General Public License version 2.
Alexandra Hájková c043c4
#
Alexandra Hájková c043c4
#   This program is distributed in the hope that it will be
Alexandra Hájková c043c4
#   useful, but WITHOUT ANY WARRANTY; without even the implied
Alexandra Hájková c043c4
#   warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
Alexandra Hájková c043c4
#   PURPOSE. See the GNU General Public License for more details.
Alexandra Hájková c043c4
#
Alexandra Hájková c043c4
#   You should have received a copy of the GNU General Public
Alexandra Hájková c043c4
#   License along with this program; if not, write to the Free
Alexandra Hájková c043c4
#   Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
Alexandra Hájková c043c4
#   Boston, MA 02110-1301, USA.
Alexandra Hájková c043c4
#
Alexandra Hájková c043c4
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Alexandra Hájková c043c4
Alexandra Hájková c043c4
export TEST=/tools/valgrind/Sanity/bz672959-RFE-Integrate-valgrind-with-gdb-possibly-through
Alexandra Hájková c043c4
export TESTVERSION=1.0
Alexandra Hájková c043c4
Alexandra Hájková c043c4
BUILT_FILES=
Alexandra Hájková c043c4
Alexandra Hájková c043c4
FILES=$(METADATA) runtest.sh Makefile PURPOSE something.c error.gdb noerror.gdb
Alexandra Hájková c043c4
Alexandra Hájková c043c4
.PHONY: all install download clean
Alexandra Hájková c043c4
Alexandra Hájková c043c4
run: $(FILES) build
Alexandra Hájková c043c4
	./runtest.sh
Alexandra Hájková c043c4
Alexandra Hájková c043c4
build: $(BUILT_FILES)
Alexandra Hájková c043c4
	test -x runtest.sh || chmod a+x runtest.sh
Alexandra Hájková c043c4
Alexandra Hájková c043c4
clean:
Alexandra Hájková c043c4
	rm -f *~ $(BUILT_FILES)
Alexandra Hájková c043c4
Alexandra Hájková c043c4
Alexandra Hájková c043c4
include /usr/share/rhts/lib/rhts-make.include
Alexandra Hájková c043c4
Alexandra Hájková c043c4
$(METADATA): Makefile
Alexandra Hájková c043c4
	@echo "Owner:           Miroslav Franc <mfranc@redhat.com>" > $(METADATA)
Alexandra Hájková c043c4
	@echo "Name:            $(TEST)" >> $(METADATA)
Alexandra Hájková c043c4
	@echo "TestVersion:     $(TESTVERSION)" >> $(METADATA)
Alexandra Hájková c043c4
	@echo "Path:            $(TEST_DIR)" >> $(METADATA)
Alexandra Hájková c043c4
	@echo "Description:     Test for BZ#672959 ([RFE] Integrate valgrind with gdb possibly through)" >> $(METADATA)
Alexandra Hájková c043c4
	@echo "Type:            Sanity" >> $(METADATA)
Alexandra Hájková c043c4
	@echo "TestTime:        30m" >> $(METADATA)
Alexandra Hájková c043c4
	@echo "RunFor:          valgrind" >> $(METADATA)
Alexandra Hájková c043c4
	@echo "Requires:        valgrind gcc gdb glibc-debuginfo" >> $(METADATA)
Alexandra Hájková c043c4
	@echo "Requires:        glibc-devel" >> $(METADATA)
Alexandra Hájková c043c4
	@echo "Priority:        Normal" >> $(METADATA)
Alexandra Hájková c043c4
	@echo "License:         GPLv2" >> $(METADATA)
Alexandra Hájková c043c4
	@echo "Confidential:    no" >> $(METADATA)
Alexandra Hájková c043c4
	@echo "Destructive:     no" >> $(METADATA)
Alexandra Hájková c043c4
	@echo "Bug:             672959" >> $(METADATA)
Alexandra Hájková c043c4
Alexandra Hájková c043c4
	rhts-lint $(METADATA)