b831cdf6b1
expressions properly. Some of the tests depend on the compiler implementing C99's FENV_ACCESS pragma, and only commercial compilers do; those tests are currently skipped. If any of the enabled tests fail, then odds are the libm regression tests will fail also. This should make it easier to diagnose reported problems on platforms I don't have. Currently, gcc passes all the tests that don't depend on FENV_ACCESS on amd64 and sparc64. Clang fails a few on amd64 (see clang bug 11406). Both gcc and clang fare poorly on i386, which has well-known issues.
13 lines
152 B
Makefile
13 lines
152 B
Makefile
# $FreeBSD$
|
|
|
|
TESTS= float
|
|
CFLAGS+=-lm
|
|
|
|
.PHONY: tests
|
|
tests: ${TESTS}
|
|
for p in ${TESTS}; do ${.OBJDIR}/$$p; done
|
|
|
|
.PHONY: clean
|
|
clean:
|
|
-rm -f ${TESTS}
|