summaryrefslogtreecommitdiffstats
path: root/tools/regression/lib/msun/Makefile
diff options
context:
space:
mode:
authordas <das@FreeBSD.org>2013-06-02 04:30:03 +0000
committerdas <das@FreeBSD.org>2013-06-02 04:30:03 +0000
commitc13ee16ab4b2ed670be4b050ae59d428dab4196f (patch)
tree9dcbcaa240ab78a1929ca23098781c6fb4b09726 /tools/regression/lib/msun/Makefile
parent44ec97062dafc83b639c425da20387c8c7fb2d8b (diff)
downloadFreeBSD-src-c13ee16ab4b2ed670be4b050ae59d428dab4196f.zip
FreeBSD-src-c13ee16ab4b2ed670be4b050ae59d428dab4196f.tar.gz
Factor out some common code from the libm tests. This is a bit messy
because different tests have different ideas about what it means to be "close enough" to the right answer, depending on the properties of the function being tested. In the process, I fixed some warnings and added a few more 'volatile' hacks, which are sufficient to make all the tests pass at -O2 with clang.
Diffstat (limited to 'tools/regression/lib/msun/Makefile')
-rw-r--r--tools/regression/lib/msun/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/regression/lib/msun/Makefile b/tools/regression/lib/msun/Makefile
index 9559bb1..dbf582f 100644
--- a/tools/regression/lib/msun/Makefile
+++ b/tools/regression/lib/msun/Makefile
@@ -5,7 +5,7 @@ TESTS= test-cexp test-conj test-csqrt test-ctrig \
test-fmaxmin test-ilogb test-invtrig test-invctrig \
test-logarithm test-lrint \
test-lround test-nan test-nearbyint test-next test-rem test-trig
-CFLAGS+= -O0 -lm
+CFLAGS+= -O0 -lm -Wno-unknown-pragmas
.PHONY: tests
tests: ${TESTS}
OpenPOWER on IntegriCloud