Support also running a 32-bit test on 64-bit platforms.
This commit is contained in:
parent
304050dde0
commit
3de8393d5b
@ -9,16 +9,18 @@ CFLAGS+= -I${.CURDIR}/../../../sys
|
|||||||
|
|
||||||
# Cannot use .OBJDIR -- 'filemontest' expects 'test_script.sh' in .
|
# Cannot use .OBJDIR -- 'filemontest' expects 'test_script.sh' in .
|
||||||
test: ${PROG} clean-test
|
test: ${PROG} clean-test
|
||||||
|
.for BIN in ${PROG} ${PROG}32
|
||||||
cd ${.CURDIR} ; \
|
cd ${.CURDIR} ; \
|
||||||
for A in 1 2 3 4 5 6 7 8 9 0; do \
|
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 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 \
|
for C in 1 2 3 4 5 6 7 8 9 0; do \
|
||||||
${.OBJDIR}/${PROG} ;\
|
test -x ${BIN} && ${.OBJDIR}/${BIN} ;\
|
||||||
done ;\
|
done ;\
|
||||||
done ;\
|
done ;\
|
||||||
done
|
done
|
||||||
@cd ${.CURDIR} ; set +e ; egrep '(Start|Stop) .*\.' filemon_log.* | \
|
@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"
|
grep -q -v '\.[0-9][0-9][0-9][0-9][0-9][0-9]$$' || echo "Time stamp format OK"
|
||||||
|
.endfor
|
||||||
|
|
||||||
clean-test:
|
clean-test:
|
||||||
cd ${.CURDIR} ; rm -f filemon_log.*
|
cd ${.CURDIR} ; rm -f filemon_log.*
|
||||||
|
Loading…
Reference in New Issue
Block a user