diff options
author | 2013-08-01 21:26:30 +0000 | |
---|---|---|
committer | 2013-08-01 21:26:30 +0000 | |
commit | 4a08560fec3d048dc92bd89a9bed5ecee2df248e (patch) | |
tree | 76b41274bb64d3424baa25460fedc939fa0f7b6c | |
parent | Don't error out if there are no regression for a particular architecture in (diff) | |
download | wireguard-openbsd-4a08560fec3d048dc92bd89a9bed5ecee2df248e.tar.xz wireguard-openbsd-4a08560fec3d048dc92bd89a9bed5ecee2df248e.zip |
Some tests are currently failing. Only run those if the REGRESS_FULL
variable is set.
-rw-r--r-- | regress/gnu/egcs/Makefile | 8 | ||||
-rw-r--r-- | regress/lib/csu/init_priority/init_priority_test.cc | 4 | ||||
-rw-r--r-- | regress/lib/libc/Makefile | 8 | ||||
-rw-r--r-- | regress/lib/libc/locale/Makefile | 4 | ||||
-rw-r--r-- | regress/lib/libm/Makefile | 8 | ||||
-rw-r--r-- | regress/lib/libpthread/Makefile | 27 | ||||
-rw-r--r-- | regress/sbin/Makefile | 8 | ||||
-rw-r--r-- | regress/sys/crypto/Makefile | 23 | ||||
-rw-r--r-- | regress/sys/kern/sosplice/Makefile | 8 | ||||
-rw-r--r-- | regress/sys/net/Makefile | 4 | ||||
-rw-r--r-- | regress/sys/uvm/Makefile | 10 | ||||
-rw-r--r-- | regress/usr.bin/Makefile | 11 | ||||
-rw-r--r-- | regress/usr.sbin/Makefile | 8 |
13 files changed, 87 insertions, 44 deletions
diff --git a/regress/gnu/egcs/Makefile b/regress/gnu/egcs/Makefile index 2402586aad1..a7f3c47e707 100644 --- a/regress/gnu/egcs/Makefile +++ b/regress/gnu/egcs/Makefile @@ -1,6 +1,10 @@ -# $OpenBSD: Makefile,v 1.5 2004/12/29 06:16:45 david Exp $ +# $OpenBSD: Makefile,v 1.6 2013/08/01 21:26:30 kettenis Exp $ -SUBDIR+= gcc gcc-bounds libiberty libf2c +SUBDIR+= gcc libiberty + +.if defined(REGRESS_FULL) +SUBDIR += gcc-bounds +.endif install: diff --git a/regress/lib/csu/init_priority/init_priority_test.cc b/regress/lib/csu/init_priority/init_priority_test.cc index 4cb7023df00..e3aba403028 100644 --- a/regress/lib/csu/init_priority/init_priority_test.cc +++ b/regress/lib/csu/init_priority/init_priority_test.cc @@ -1,6 +1,7 @@ -/* $OpenBSD: init_priority_test.cc,v 1.3 2013/01/07 05:22:51 miod Exp $ */ +/* $OpenBSD: init_priority_test.cc,v 1.4 2013/08/01 21:26:30 kettenis Exp $ */ #include <cassert> +#include <cstdio> namespace { const int kNumTests = 10; @@ -15,6 +16,7 @@ Test::Test(int x) { if (counter < kNumTests) log[counter] = x; + fprintf(stderr, "%d\n", x); counter++; } diff --git a/regress/lib/libc/Makefile b/regress/lib/libc/Makefile index 0883af1ab3e..016255e9dc3 100644 --- a/regress/lib/libc/Makefile +++ b/regress/lib/libc/Makefile @@ -1,13 +1,17 @@ -# $OpenBSD: Makefile,v 1.36 2013/05/02 09:20:17 mpi Exp $ +# $OpenBSD: Makefile,v 1.37 2013/08/01 21:26:30 kettenis Exp $ SUBDIR+= _setjmp alloca atexit basename cephes cxa-atexit db dirname env -SUBDIR+= fmemopen fnmatch fpclassify getaddrinfo getcap getopt_long glob +SUBDIR+= fmemopen fnmatch fpclassify getcap getopt_long glob SUBDIR+= hsearch longjmp locale malloc mkstemp netdb open_memstream SUBDIR+= orientation popen printf SUBDIR+= regex setjmp setjmp-signal sigreturn sigsetjmp sprintf SUBDIR+= stdio_threading stpncpy strerror strtod strtol strtonum SUBDIR+= telldir time vis +.if defined(REGRESS_FULL) +SUBDIR+= getaddrinfo +.endif + .if (${MACHINE_ARCH} != "vax") SUBDIR+= ieeefp .endif diff --git a/regress/lib/libc/locale/Makefile b/regress/lib/libc/locale/Makefile index c182172ba2f..d6df7bf70d4 100644 --- a/regress/lib/libc/locale/Makefile +++ b/regress/lib/libc/locale/Makefile @@ -1,6 +1,8 @@ -# $OpenBSD: Makefile,v 1.1 2005/08/11 21:57:02 espie Exp $ +# $OpenBSD: Makefile,v 1.2 2013/08/01 21:26:30 kettenis Exp $ +.if defined(REGRESS_FULL) SUBDIR+= check_isw +.endif install: diff --git a/regress/lib/libm/Makefile b/regress/lib/libm/Makefile index 3d93c184797..6fff4a6af1c 100644 --- a/regress/lib/libm/Makefile +++ b/regress/lib/libm/Makefile @@ -1,8 +1,12 @@ -# $OpenBSD: Makefile,v 1.12 2012/10/25 20:15:58 miod Exp $ +# $OpenBSD: Makefile,v 1.13 2013/08/01 21:26:30 kettenis Exp $ -SUBDIR+= cephes exp fenv floor fpaccuracy lgamma nextafter rint round \ +SUBDIR+= exp fenv floor fpaccuracy lgamma nextafter rint round \ tgamma toint trivial1 +.if defined(REGRESS_FULL) +SUBDIR+= cephes +.endif + install: .include <bsd.subdir.mk> diff --git a/regress/lib/libpthread/Makefile b/regress/lib/libpthread/Makefile index 9358149c4d3..69f5d6977fd 100644 --- a/regress/lib/libpthread/Makefile +++ b/regress/lib/libpthread/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.43 2013/06/21 06:47:20 guenther Exp $ +# $OpenBSD: Makefile,v 1.44 2013/08/01 21:26:30 kettenis Exp $ # disabled because it requires a buggy behavior that uthread had: # dup2_race @@ -11,16 +11,21 @@ # fix it caused panics: # blocked_fifo -SUBDIR= barrier blocked_shutdown \ - cancel cancel2 close close_race closefrom cwd earlysig \ - errno execve fork \ - group malloc_duel netdb pcap poll preemption preemption_float \ - pthread_atfork pthread_cond_timedwait pthread_create \ - pthread_join pthread_kill pthread_mutex \ - pthread_rwlock pthread_specific \ - readdir restart select semaphore setjmp setsockopt sigdeliver siginfo \ - siginterrupt signal signals signodefer sigsuspend sigwait sleep \ - socket spinlock stack stdarg stdio switch system +SUBDIR+= barrier blocked_shutdown \ + cancel cancel2 close close_race closefrom cwd earlysig \ + errno execve fork \ + group netdb pcap poll preemption preemption_float \ + pthread_atfork pthread_cond_timedwait pthread_create \ + pthread_join pthread_kill pthread_mutex \ + pthread_rwlock pthread_specific \ + readdir restart \ + select semaphore setjmp sigdeliver siginfo \ + siginterrupt signal signals signodefer sigsuspend sigwait sleep \ + socket spinlock stack stdarg stdio switch system + +.if defined(REGRESS_FULL) +SUBDIR+= malloc_duel setsockopt +.endif # Not available or disabled: fcntl, getaddrinfo, pause, pw, sigmask, stdfiles diff --git a/regress/sbin/Makefile b/regress/sbin/Makefile index c299f503487..6bb9a098660 100644 --- a/regress/sbin/Makefile +++ b/regress/sbin/Makefile @@ -1,6 +1,10 @@ -# $OpenBSD: Makefile,v 1.6 2006/05/26 04:02:59 deraadt Exp $ +# $OpenBSD: Makefile,v 1.7 2013/08/01 21:26:30 kettenis Exp $ -SUBDIR+= ipsecctl pfctl route +SUBDIR+= route + +.if defined(REGRESS_FULL) +SUBDIR+= ipsecctl pfctl +.endif install: diff --git a/regress/sys/crypto/Makefile b/regress/sys/crypto/Makefile index 62c85555f84..712a4a21cf0 100644 --- a/regress/sys/crypto/Makefile +++ b/regress/sys/crypto/Makefile @@ -1,13 +1,16 @@ -# $OpenBSD: Makefile,v 1.8 2010/09/22 12:04:13 mikeb Exp $ - -SUBDIR=enc -SUBDIR+=aesctr -SUBDIR+=aesxts -SUBDIR+=aes -SUBDIR+=cmac -SUBDIR+=gmac -SUBDIR+=hmac -SUBDIR+=key_wrap +# $OpenBSD: Makefile,v 1.9 2013/08/01 21:26:30 kettenis Exp $ + +SUBDIR+= cmac +SUBDIR+= gmac +SUBDIR+= hmac +SUBDIR+= key_wrap + +.if defined(REGRESS_FULL) +SUBDIR+= enc +SUBDIR+= aesctr +SUBDIR+= aesxts +SUBDIR+= aes +.endif install: diff --git a/regress/sys/kern/sosplice/Makefile b/regress/sys/kern/sosplice/Makefile index 65607795624..b32a4ba6e47 100644 --- a/regress/sys/kern/sosplice/Makefile +++ b/regress/sys/kern/sosplice/Makefile @@ -1,9 +1,11 @@ -# $OpenBSD: Makefile,v 1.2 2013/01/08 21:42:19 bluhm Exp $ +# $OpenBSD: Makefile,v 1.3 2013/08/01 21:26:30 kettenis Exp $ -SUBDIR = +SUBDIR += perf + +.if defined(REGRESS_FULL) SUBDIR += error SUBDIR += tcp SUBDIR += udp -SUBDIR += perf +.endif .include <bsd.subdir.mk> diff --git a/regress/sys/net/Makefile b/regress/sys/net/Makefile index 91290390206..02372dd4bad 100644 --- a/regress/sys/net/Makefile +++ b/regress/sys/net/Makefile @@ -1,6 +1,8 @@ -# $OpenBSD: Makefile,v 1.3 2013/06/17 19:42:27 bluhm Exp $ +# $OpenBSD: Makefile,v 1.4 2013/08/01 21:26:30 kettenis Exp $ +.if defined(REGRESS_FULL) SUBDIR += pf_divert +.endif PROG= pf_print_test CLEANFILES= pf_print_host.c diff --git a/regress/sys/uvm/Makefile b/regress/sys/uvm/Makefile index 61ae03d2609..175f1654e23 100644 --- a/regress/sys/uvm/Makefile +++ b/regress/sys/uvm/Makefile @@ -1,7 +1,11 @@ -# $OpenBSD: Makefile,v 1.9 2011/10/07 20:16:55 ariane Exp $ +# $OpenBSD: Makefile,v 1.10 2013/08/01 21:26:30 kettenis Exp $ -SUBDIR=misc mmap_4g mmap_size mmap_fixed mmap_mod mmap_write_self -SUBDIR+=mmap0 mmap_hint +SUBDIR+= misc mmap_4g mmap_size mmap_fixed mmap_mod mmap_write_self +SUBDIR+= mmap0 + +.if defined(REGRESS_FULL) +SUBDIR+= mmap_hint +.endif install: diff --git a/regress/usr.bin/Makefile b/regress/usr.bin/Makefile index 000ce8109fe..65011b8ee0e 100644 --- a/regress/usr.bin/Makefile +++ b/regress/usr.bin/Makefile @@ -1,9 +1,12 @@ -# $OpenBSD: Makefile,v 1.26 2012/07/28 19:07:07 guenther Exp $ +# $OpenBSD: Makefile,v 1.27 2013/08/01 21:26:30 kettenis Exp $ # $NetBSD: Makefile,v 1.1 1997/12/30 23:27:11 cgd Exp $ -SUBDIR+= basename bc cap_mkdb dc diff diff3 dirname file grep gzip gzsig -SUBDIR+= libtool -SUBDIR+= m4 make mandoc patch pkg-config rcs sdiff sed sort ssh tsort +SUBDIR+= basename bc dc diff diff3 dirname file grep gzip gzsig +SUBDIR+= m4 mandoc sdiff sed sort tsort SUBDIR+= xargs +.if defined(REGRESS_FULL) +SUBDIR+= cap_mkdb libtool make patch pkg-config rcs ssh +.endif + .include <bsd.subdir.mk> diff --git a/regress/usr.sbin/Makefile b/regress/usr.sbin/Makefile index 4c74923a02c..0fc0c1499e0 100644 --- a/regress/usr.sbin/Makefile +++ b/regress/usr.sbin/Makefile @@ -1,5 +1,9 @@ -# $OpenBSD: Makefile,v 1.3 2013/02/05 22:40:57 bluhm Exp $ +# $OpenBSD: Makefile,v 1.4 2013/08/01 21:26:30 kettenis Exp $ -SUBDIR+= mtree pkg_add relayd +SUBDIR+= mtree + +.if defined(REGRESS_FULL) +SUBDIR += pkg_add relayd +.endif .include <bsd.subdir.mk> |