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