summaryrefslogtreecommitdiff
path: root/regress/bin/ksh/main/Makefile
blob: 20d3010c8deaf25b61685bedf591b6537e4e0a5c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# $OpenBSD: Makefile,v 1.1 2016/09/29 11:04:45 schwarze Exp $

REGRESS_TARGETS=check
KSH=/bin/ksh
PERL=/usr/bin/perl
CATEGORIES=pdksh,sh,ksh,posix,posix-upu

# Avoid /tmp for test temp files if we have an obj dir
.if ${.CURDIR} != ${.OBJDIR}
TEMPDIR=${.OBJDIR}
.else
TEMPDIR=/tmp
.endif

check test:
	${PERL} ${.CURDIR}/../th -s ${.CURDIR}/.. -p ${KSH} \
		-C ${CATEGORIES} -T ${TEMPDIR}

.PHONY: ${REGRESS_TARGETS}

.include <bsd.regress.mk>