Source-Changes-HG archive

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

[src/trunk]: src/tests/lib/libc Register micro-UBSan ATF tests in the distrib...



details:   https://anonhg.NetBSD.org/src/rev/22162b6cbe8f
branches:  trunk
changeset: 991858:22162b6cbe8f
user:      kamil <kamil%NetBSD.org@localhost>
date:      Fri Aug 03 04:24:41 2018 +0000

description:
Register micro-UBSan ATF tests in the distribution

Populate distrib files, mtree lists and add the entry in Makefile to
include the new code.

diffstat:

 distrib/sets/lists/debug/mi |  4 +++-
 distrib/sets/lists/tests/mi |  8 +++++++-
 etc/mtree/NetBSD.dist.tests |  4 +++-
 tests/lib/libc/Makefile     |  4 ++--
 4 files changed, 15 insertions(+), 5 deletions(-)

diffs (89 lines):

diff -r 04a23b9606b6 -r 22162b6cbe8f distrib/sets/lists/debug/mi
--- a/distrib/sets/lists/debug/mi       Fri Aug 03 04:18:40 2018 +0000
+++ b/distrib/sets/lists/debug/mi       Fri Aug 03 04:24:41 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: mi,v 1.259 2018/07/31 16:44:29 khorben Exp $
+# $NetBSD: mi,v 1.260 2018/08/03 04:24:41 kamil Exp $
 ./etc/mtree/set.debug                           comp-sys-root
 ./usr/lib                                      comp-sys-usr            compatdir
 ./usr/lib/i18n/libBIG5_g.a                     comp-c-debuglib         debuglib,compatfile
@@ -1980,6 +1980,8 @@
 ./usr/libdata/debug/usr/tests/lib/libc/locale/t_wcstod.debug           tests-lib-debug         debug,atf,compattestfile
 ./usr/libdata/debug/usr/tests/lib/libc/locale/t_wctomb.debug           tests-lib-debug         debug,atf,compattestfile
 ./usr/libdata/debug/usr/tests/lib/libc/locale/t_wctype.debug           tests-lib-debug         debug,atf,compattestfile
+./usr/libdata/debug/usr/tests/lib/libc/misc/t_ubsan.debug              tests-lib-debug         debug,atf,compattestfile
+./usr/libdata/debug/usr/tests/lib/libc/misc/t_ubsanxx.debug            tests-lib-debug         debug,atf,compattestfile
 ./usr/libdata/debug/usr/tests/lib/libc/net/getaddrinfo/h_gai.debug     tests-lib-debug         debug,atf,compattestfile
 ./usr/libdata/debug/usr/tests/lib/libc/net/h_dns_server.debug          tests-lib-debug         debug,atf,compattestfile
 ./usr/libdata/debug/usr/tests/lib/libc/net/h_hostent.debug             tests-lib-debug         debug,atf,compattestfile
diff -r 04a23b9606b6 -r 22162b6cbe8f distrib/sets/lists/tests/mi
--- a/distrib/sets/lists/tests/mi       Fri Aug 03 04:18:40 2018 +0000
+++ b/distrib/sets/lists/tests/mi       Fri Aug 03 04:24:41 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: mi,v 1.789 2018/07/10 06:49:29 kre Exp $
+# $NetBSD: mi,v 1.790 2018/08/03 04:24:41 kamil Exp $
 #
 # Note: don't delete entries from here - mark them as "obsolete" instead.
 #
@@ -102,6 +102,7 @@
 ./usr/libdata/debug/usr/tests/lib/libc/ieeefp                          tests-obsolete          obsolete
 ./usr/libdata/debug/usr/tests/lib/libc/inet                            tests-lib-debug         compattestfile,atf
 ./usr/libdata/debug/usr/tests/lib/libc/locale                          tests-lib-debug         compattestfile,atf
+./usr/libdata/debug/usr/tests/lib/libc/misc                            tests-lib-debug         compattestfile,atf
 ./usr/libdata/debug/usr/tests/lib/libc/net                             tests-lib-debug         compattestfile,atf
 ./usr/libdata/debug/usr/tests/lib/libc/net/getaddrinfo                 tests-lib-debug         compattestfile,atf
 ./usr/libdata/debug/usr/tests/lib/libc/regex                           tests-lib-debug         compattestfile,atf
@@ -2579,6 +2580,11 @@
 ./usr/tests/lib/libc/locale/t_wcstod           tests-lib-tests         compattestfile,atf
 ./usr/tests/lib/libc/locale/t_wctomb           tests-lib-tests         compattestfile,atf
 ./usr/tests/lib/libc/locale/t_wctype           tests-lib-tests         compattestfile,atf
+./usr/tests/lib/libc/misc                      tests-lib-tests compattestfile,atf
+./usr/tests/lib/libc/misc/Atffile              tests-lib-tests         compattestfile,atf
+./usr/tests/lib/libc/misc/Kyuafile             tests-lib-tests         compattestfile,atf,kyua
+./usr/tests/lib/libc/misc/t_ubsan              tests-lib-tests         compattestfile,atf
+./usr/tests/lib/libc/misc/t_ubsanxx            tests-lib-tests         compattestfile,atf
 ./usr/tests/lib/libc/net                       tests-lib-tests compattestfile,atf
 ./usr/tests/lib/libc/net/Atffile               tests-lib-tests         compattestfile,atf
 ./usr/tests/lib/libc/net/Kyuafile              tests-lib-tests         compattestfile,atf,kyua
diff -r 04a23b9606b6 -r 22162b6cbe8f etc/mtree/NetBSD.dist.tests
--- a/etc/mtree/NetBSD.dist.tests       Fri Aug 03 04:18:40 2018 +0000
+++ b/etc/mtree/NetBSD.dist.tests       Fri Aug 03 04:24:41 2018 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: NetBSD.dist.tests,v 1.151 2018/06/15 09:54:02 yamaguchi Exp $
+#      $NetBSD: NetBSD.dist.tests,v 1.152 2018/08/03 04:24:41 kamil Exp $
 
 ./usr/libdata/debug/usr/tests
 ./usr/libdata/debug/usr/tests/atf
@@ -83,6 +83,7 @@
 ./usr/libdata/debug/usr/tests/lib/libc/hash
 ./usr/libdata/debug/usr/tests/lib/libc/locale
 ./usr/libdata/debug/usr/tests/lib/libc/inet
+./usr/libdata/debug/usr/tests/lib/libc/misc
 ./usr/libdata/debug/usr/tests/lib/libc/net
 ./usr/libdata/debug/usr/tests/lib/libc/net/getaddrinfo
 ./usr/libdata/debug/usr/tests/lib/libc/regex
@@ -266,6 +267,7 @@
 ./usr/tests/lib/libc/hash/data
 ./usr/tests/lib/libc/locale
 ./usr/tests/lib/libc/inet
+./usr/tests/lib/libc/misc
 ./usr/tests/lib/libc/net
 ./usr/tests/lib/libc/net/getaddrinfo
 ./usr/tests/lib/libc/net/getaddrinfo/data
diff -r 04a23b9606b6 -r 22162b6cbe8f tests/lib/libc/Makefile
--- a/tests/lib/libc/Makefile   Fri Aug 03 04:18:40 2018 +0000
+++ b/tests/lib/libc/Makefile   Fri Aug 03 04:24:41 2018 +0000
@@ -1,11 +1,11 @@
-# $NetBSD: Makefile,v 1.47 2014/02/17 10:10:41 martin Exp $
+# $NetBSD: Makefile,v 1.48 2018/08/03 04:24:41 kamil Exp $
 
 .include "Makefile.inc"
 .include <bsd.own.mk>
 
 SUBDIR+=       tls_dso .WAIT sync
 
-TESTS_SUBDIRS+=        c063 db gen hash inet locale net regex rpc setjmp stdlib
+TESTS_SUBDIRS+=        c063 db gen hash inet locale misc net regex rpc setjmp stdlib
 TESTS_SUBDIRS+=        stdio string sys termios time tls ttyio
 
 .if ${HAVE_SSP} == "yes"



Home | Main Index | Thread Index | Old Index