Author: br
Date: Tue Oct 18 22:53:58 2016
New Revision: 307583
URL: https://svnweb.freebsd.org/changeset/base/307583
Log:
Skip test on FreeBSD only. So test can be upstreamed to NetBSD.
Requested by: ngie
Sponsored by: DARPA, AFRL
Sponsored by: HEIF5
Modified:
head/contrib/netbsd-tests/lib/libpthread/t_swapcontext.c
Modified: head/contrib/netbsd-tests/lib/libpthread/t_swapcontext.c
==============================================================================
--- head/contrib/netbsd-tests/lib/libpthread/t_swapcontext.c Tue Oct 18
22:40:14 2016 (r307582)
+++ head/contrib/netbsd-tests/lib/libpthread/t_swapcontext.c Tue Oct 18
22:53:58 2016 (r307583)
@@ -97,7 +97,7 @@ ATF_TC_BODY(swapcontext1, tc)
{
pthread_t thread;
-#ifdef __mips__
+#if defined(__FreeBSD__) && defined(__mips__)
/*
* MIPS modifies TLS pointer in set_mcontext(), so
* swapping contexts obtained from different threads
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "[email protected]"