summaryrefslogtreecommitdiff
path: root/regress/gnu/egcs/gcc/Makefile
blob: 4a41b160d5e0b022efd90585e8154bfe17d68303 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# $OpenBSD: Makefile,v 1.1 2001/10/07 13:24:56 espie Exp $

NOMAN=
NOPROG=

TESTDIR=${BSDSRCDIR}/gnu/egcs/gcc

regress: 
	@if ${RUNTEST} --help >/dev/null; then \
	    if ${RUNTEST} --version|grep 'Framework version is.*1.3$$' >/dev/null; then \
	    	echo "Error: you must have a dejagnu more recent than 1.3"; \
		echo "For instance: ${PORTSDIR}/lang/egcs/dejagnu."; \
	    else \
		cd ${TESTDIR} && ${MAKE} -f Makefile.bsd-wrapper && \
		    ${MAKE} check RUNTEST=${RUNTEST}; \
	    fi; \
	else \
	    echo "Error: you must have a dejagnu more recent than 1.3 to run this test."; \
	    echo "  You can install the package from the ftp site or recompile it"; \
	    echo "  from the ports tree (${PORTSDIR}/lang/egcs/dejagnu)."; \
	fi


.include <bsd.prog.mk>

PORTSDIR?=/usr/ports