blob: 203613931ab922831a348ec5c8123f478d362d7e (
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.6 2021/04/19 15:56:37 kettenis Exp $
PROGS= fpu _setjmp setjmp sigsetjmp
LDADD= -lm
REGRESS_TARGETS = run-fpu
run-fpu: fpu
# check fpu functions without setjmp/longjmp before testing the latter
./fpu
.for p in ${PROGS:M*jmp}
REGRESS_TARGETS += run-$p
run-$p: $p
./$p
.endfor
.if ${MACHINE} == powerpc64
# The powerpc64 ELFv2 ABI explicitly states that exception enable bits
# and rounding control bits are not restored by longjmp(3)
.for p in ${PROGS:M*jmp}
REGRESS_EXPECTED_FAILURES += run-$p
.endfor
.endif
.include <bsd.regress.mk>
|