summaryrefslogtreecommitdiffstats
path: root/tools/regression
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2012-06-29 15:54:07 +0000
committerobrien <obrien@FreeBSD.org>2012-06-29 15:54:07 +0000
commitb257ff8e05ab818913c3f7ab328d3b2b320d638b (patch)
treed6f0b8c527fba16a1eb1fc2439d5254d3632df74 /tools/regression
parent722e0571698d84ca79f966be76d161a8617893f2 (diff)
downloadFreeBSD-src-b257ff8e05ab818913c3f7ab328d3b2b320d638b.zip
FreeBSD-src-b257ff8e05ab818913c3f7ab328d3b2b320d638b.tar.gz
Support also running a 32-bit test on 64-bit platforms.
Diffstat (limited to 'tools/regression')
-rw-r--r--tools/regression/filemon/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/regression/filemon/Makefile b/tools/regression/filemon/Makefile
index dcad932..06d6f64 100644
--- a/tools/regression/filemon/Makefile
+++ b/tools/regression/filemon/Makefile
@@ -9,16 +9,18 @@ CFLAGS+= -I${.CURDIR}/../../../sys
# Cannot use .OBJDIR -- 'filemontest' expects 'test_script.sh' in .
test: ${PROG} clean-test
+.for BIN in ${PROG} ${PROG}32
cd ${.CURDIR} ; \
for A in 1 2 3 4 5 6 7 8 9 0; do \
for B in 1 2 3 4 5 6 7 8 9 0; do \
for C in 1 2 3 4 5 6 7 8 9 0; do \
- ${.OBJDIR}/${PROG} ;\
+ test -x ${BIN} && ${.OBJDIR}/${BIN} ;\
done ;\
done ;\
done
@cd ${.CURDIR} ; set +e ; egrep '(Start|Stop) .*\.' filemon_log.* | \
grep -q -v '\.[0-9][0-9][0-9][0-9][0-9][0-9]$$' || echo "Time stamp format OK"
+.endfor
clean-test:
cd ${.CURDIR} ; rm -f filemon_log.*
OpenPOWER on IntegriCloud