summaryrefslogtreecommitdiff
path: root/src/regress/lib/libc/setjmp-fpu/Makefile
diff options
context:
space:
mode:
authorbluhm <>2020-01-16 13:04:02 +0000
committerbluhm <>2020-01-16 13:04:02 +0000
commit8fad58f293c47140f9e2a70b547e55d3040596cc (patch)
tree6707148acd31b3757c80d6d1b69a29c5e9fef07a /src/regress/lib/libc/setjmp-fpu/Makefile
parent5d5b1ddc4dc2f18052a9f37d0985d2cbbf2110b9 (diff)
downloadopenbsd-8fad58f293c47140f9e2a70b547e55d3040596cc.tar.gz
openbsd-8fad58f293c47140f9e2a70b547e55d3040596cc.tar.bz2
openbsd-8fad58f293c47140f9e2a70b547e55d3040596cc.zip
Check fpu functions without setjmp/longjmp before testing the latter.
Use exit code 2 for setup failure and 1 for test fail. Unfortunately this regress is still failing.
Diffstat (limited to 'src/regress/lib/libc/setjmp-fpu/Makefile')
-rw-r--r--src/regress/lib/libc/setjmp-fpu/Makefile12
1 files changed, 9 insertions, 3 deletions
diff --git a/src/regress/lib/libc/setjmp-fpu/Makefile b/src/regress/lib/libc/setjmp-fpu/Makefile
index 7b9fae5f5f..c4e7196c1d 100644
--- a/src/regress/lib/libc/setjmp-fpu/Makefile
+++ b/src/regress/lib/libc/setjmp-fpu/Makefile
@@ -1,10 +1,16 @@
1# $OpenBSD: Makefile,v 1.3 2020/01/13 14:58:38 bluhm Exp $ 1# $OpenBSD: Makefile,v 1.4 2020/01/16 13:03:42 bluhm Exp $
2 2
3PROGS= _setjmp setjmp sigsetjmp 3PROGS= fpu _setjmp setjmp sigsetjmp
4 4
5LDADD= -lm 5LDADD= -lm
6 6
7.for p in ${PROGS} 7REGRESS_TARGETS = run-fpu
8run-fpu: fpu
9 @echo '======== $@ ========'
10 # check fpu functions without setjmp/longjmp before testing the latter
11 ./fpu
12
13.for p in ${PROGS:M*jmp}
8REGRESS_TARGETS += run-$p 14REGRESS_TARGETS += run-$p
9run-$p: $p 15run-$p: $p
10 @echo '======== $@ ========' 16 @echo '======== $@ ========'