From 9eddb8ff7ea0b86a8c91ece8d481304bb1dbe6c0 Mon Sep 17 00:00:00 2001 From: mbuhl Date: Mon, 25 Oct 2021 00:48:49 +0000 Subject: [PATCH] Use EXPECTED_FAIL instead of DISABLED. --- regress/lib/libm/msun/Makefile | 29 ++++++++++------------------- 1 file changed, 10 insertions(+), 19 deletions(-) diff --git a/regress/lib/libm/msun/Makefile b/regress/lib/libm/msun/Makefile index 1894ef6a352..7c68bc21fbb 100644 --- a/regress/lib/libm/msun/Makefile +++ b/regress/lib/libm/msun/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.4 2021/10/22 18:00:22 mbuhl Exp $ +# $OpenBSD: Makefile,v 1.5 2021/10/25 00:48:49 mbuhl Exp $ # Copyright (c) 2021 Moritz Buhl # @@ -46,10 +46,11 @@ PROGS+= rem_test PROGS+= trig_test # failing tests -FAILING = run-csqrt_test-{1,2,3} run-ctrig_test-{2,3,4,6} \ - run-exponential_test-1 run-fma_test-7 run-invctrig_test-{1,2,3,4} \ - run-invtrig_test-{1,2,3,5,6} run-logarithm_test-1 run-lround_test-1 \ - run-nan_test-1 run-nearbyint_test-1 run-next_test-5 run-rem_test-3 +FAILING = run-cexp_test-{2,3,4} run-csqrt_test-{1,2,3} \ + run-ctrig_test-{2,3,4,6} run-exponential_test-1 run-fma_test-7 \ + run-invctrig_test-{1,2,3,4} run-invtrig_test-{1,2,3,5,6} \ + run-logarithm_test-1 run-lround_test-1 run-nan_test-1 \ + run-nearbyint_test-1 run-next_test-5 run-rem_test-3 . if ${MACHINE} == amd64 FAILING+= run-cexp_test-{1,7} @@ -65,7 +66,7 @@ FAILING+= run-invtrig_test-7 FAILING+= run-logarithm_test-5 FAILING+= run-lrint_test-1 FAILING+= run-next_test-{1,2,4} -FAILING+= run-rem_test-1 +FAILING+= run-rem_test-{1,2} FAILING+= run-trig_test-{1,2} . elif ${MACHINE} == i386 FAILING+= run-cexp_test-{1,7} @@ -76,13 +77,14 @@ FAILING+= run-logarithm_test-3 FAILING+= run-lrint_test-1 FAILING+= run-next_test-{1,2,4} . elif ${MACHINE} == powerpc64 +FAILING+= run-cexp_test-7 FAILING+= run-ctrig_test-{1,5} FAILING+= run-invtrig_test-7 FAILING+= run-trig_test-2 . elif ${MACHINE} == sparc64 FAILING+= run-ctrig_test-5 FAILING+= run-fma_test-{1,2,4,5,6} -FAILING+= run-invtrig_test-7 +FAILING+= run-invtrig_test-{4,7} FAILING+= run-logarithm_test-5 FAILING+= run-lrint_test-1 FAILING+= run-next_test-{1,2,4,5} @@ -90,18 +92,7 @@ FAILING+= run-rem_test-{1,2} FAILING+= run-trig_test-{1,2} . endif -. for t in run-cexp_test-{2,3,4} -${t}: - # cexp functions don't handle inf and nan cases - @echo DISABLED -. endfor - -. for t in ${FAILING} -${t}: - # XXX: Doesn't work for unknown reasons - @echo DISABLED -. endfor - +REGRESS_EXPECTED_FAILURES!= echo ${FAILING} LDADD= -lm DPADD= ${LIBM} -- 2.20.1