Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/tests/lib/libm Build libm tests with -fno-builtin.



details:   https://anonhg.NetBSD.org/src/rev/8a61a6a5a664
branches:  trunk
changeset: 445635:8a61a6a5a664
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Wed Nov 07 03:56:18 2018 +0000

description:
Build libm tests with -fno-builtin.

This way they test libm, not whatever the compiler does.

We should _also_ have automatic integration tests for what the
compiler does, as a separate thing.

diffstat:

 tests/lib/libm/Makefile |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r 0c9f7247baeb -r 8a61a6a5a664 tests/lib/libm/Makefile
--- a/tests/lib/libm/Makefile   Wed Nov 07 01:14:19 2018 +0000
+++ b/tests/lib/libm/Makefile   Wed Nov 07 03:56:18 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.44 2018/06/20 03:51:27 maya Exp $
+# $NetBSD: Makefile,v 1.45 2018/11/07 03:56:18 riastradh Exp $
 
 .include <bsd.own.mk>
 
@@ -7,6 +7,7 @@
 .if ${MACHINE} == "alpha"
 COPTS+=        -mfloat-ieee -mieee-with-inexact -mfp-trap-mode=sui -mtrap-precision=i
 .endif
+COPTS+=        -fno-builtin
 
 CPPFLAGS.t_fenv.c+=    -D__TEST_FENV
 CPPFLAGS.t_fe_round.c+=        -D__TEST_FENV



Home | Main Index | Thread Index | Old Index