diff options
author | bluhm <> | 2020-01-16 13:04:02 +0000 |
---|---|---|
committer | bluhm <> | 2020-01-16 13:04:02 +0000 |
commit | 8fad58f293c47140f9e2a70b547e55d3040596cc (patch) | |
tree | 6707148acd31b3757c80d6d1b69a29c5e9fef07a /src/regress/lib/libc/setjmp-fpu/Makefile | |
parent | 5d5b1ddc4dc2f18052a9f37d0985d2cbbf2110b9 (diff) | |
download | openbsd-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/Makefile | 12 |
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 | ||
3 | PROGS= _setjmp setjmp sigsetjmp | 3 | PROGS= fpu _setjmp setjmp sigsetjmp |
4 | 4 | ||
5 | LDADD= -lm | 5 | LDADD= -lm |
6 | 6 | ||
7 | .for p in ${PROGS} | 7 | REGRESS_TARGETS = run-fpu |
8 | run-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} | ||
8 | REGRESS_TARGETS += run-$p | 14 | REGRESS_TARGETS += run-$p |
9 | run-$p: $p | 15 | run-$p: $p |
10 | @echo '======== $@ ========' | 16 | @echo '======== $@ ========' |