|
|
15e20ba |
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
|
15e20ba |
#
|
|
|
15e20ba |
# Makefile of /tools/libffi/Sanity/testsuite
|
|
|
15e20ba |
# Description: Runs upstream testsuite
|
|
|
15e20ba |
# Author: Michal Nowak <mnowak@redhat.com>
|
|
|
15e20ba |
#
|
|
|
15e20ba |
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
|
15e20ba |
#
|
|
|
15e20ba |
# Copyright (c) 2010 Red Hat, Inc.
|
|
|
15e20ba |
#
|
|
|
15e20ba |
# This program is free software: you can redistribute it and/or
|
|
|
15e20ba |
# modify it under the terms of the GNU General Public License as
|
|
|
15e20ba |
# published by the Free Software Foundation, either version 3 of
|
|
|
15e20ba |
# the License, or (at your option) any later version.
|
|
|
15e20ba |
#
|
|
|
15e20ba |
# This program is distributed in the hope that it will be
|
|
|
15e20ba |
# useful, but WITHOUT ANY WARRANTY; without even the implied
|
|
|
15e20ba |
# warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
|
|
|
15e20ba |
# PURPOSE. See the GNU General Public License for more details.
|
|
|
15e20ba |
#
|
|
|
15e20ba |
# You should have received a copy of the GNU General Public License
|
|
|
15e20ba |
# along with this program. If not, see http://www.gnu.org/licenses/.
|
|
|
15e20ba |
#
|
|
|
15e20ba |
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
|
15e20ba |
|
|
|
15e20ba |
export TEST=/tools/libffi/Sanity/testsuite
|
|
|
15e20ba |
export TESTVERSION=1.0
|
|
|
15e20ba |
|
|
|
15e20ba |
BUILT_FILES=
|
|
|
15e20ba |
|
|
|
15e20ba |
FILES=$(METADATA) runtest.sh Makefile PURPOSE dynamic_linking.patch dynamic_linking-dg.patch
|
|
|
15e20ba |
|
|
|
15e20ba |
.PHONY: all install download clean
|
|
|
15e20ba |
|
|
|
15e20ba |
run: $(FILES) build
|
|
|
15e20ba |
./runtest.sh
|
|
|
15e20ba |
|
|
|
15e20ba |
build: $(BUILT_FILES)
|
|
|
15e20ba |
chmod a+x runtest.sh
|
|
|
15e20ba |
|
|
|
15e20ba |
clean:
|
|
|
15e20ba |
rm -f *~ $(BUILT_FILES)
|
|
|
15e20ba |
|
|
|
15e20ba |
|
|
|
15e20ba |
include /usr/share/rhts/lib/rhts-make.include
|
|
|
15e20ba |
|
|
|
15e20ba |
$(METADATA): Makefile
|
|
|
15e20ba |
@echo "Owner: Michal Nowak <mnowak@redhat.com>" > $(METADATA)
|
|
|
15e20ba |
@echo "Name: $(TEST)" >> $(METADATA)
|
|
|
15e20ba |
@echo "TestVersion: $(TESTVERSION)" >> $(METADATA)
|
|
|
15e20ba |
@echo "Path: $(TEST_DIR)" >> $(METADATA)
|
|
|
15e20ba |
@echo "Description: Runs upstream testsuite" >> $(METADATA)
|
|
|
15e20ba |
@echo "Type: Sanity" >> $(METADATA)
|
|
|
15e20ba |
@echo "TestTime: 19m" >> $(METADATA)
|
|
|
15e20ba |
@echo "RunFor: libffi" >> $(METADATA)
|
|
|
15e20ba |
@echo "Requires: libffi libffi-devel gcc dejagnu rpm-build gcc-c++ texinfo strace" >> $(METADATA)
|
|
|
15e20ba |
@echo "Priority: Normal" >> $(METADATA)
|
|
|
15e20ba |
@echo "License: GPLv3" >> $(METADATA)
|
|
|
15e20ba |
@echo "Confidential: no" >> $(METADATA)
|
|
|
15e20ba |
@echo "Destructive: no" >> $(METADATA)
|
|
|
15e20ba |
@echo "Releases: -RHEL4 -RHEL5" >> $(METADATA)
|
|
|
15e20ba |
|
|
|
15e20ba |
rhts-lint $(METADATA)
|