45de1d006d
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.
17 lines
404 B
Makefile
17 lines
404 B
Makefile
# $FreeBSD$
|
|
|
|
TESTS= test-cexp test-conj test-csqrt test-ctrig \
|
|
test-exponential test-fenv test-fma \
|
|
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 -Wno-unknown-pragmas
|
|
|
|
.PHONY: tests
|
|
tests: ${TESTS}
|
|
for p in ${TESTS}; do ${.OBJDIR}/$$p; done
|
|
|
|
.PHONY: clean
|
|
clean:
|
|
-rm -f ${TESTS}
|