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