[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [gnurl] 43/219: xattr: skip unittest on unsupported platfor
From: |
gnunet |
Subject: |
[GNUnet-SVN] [gnurl] 43/219: xattr: skip unittest on unsupported platforms |
Date: |
Wed, 22 May 2019 19:16:22 +0200 |
This is an automated email from the git hooks/post-receive script.
ng0 pushed a commit to branch master
in repository gnurl.
commit 06ace0ba98d8d147f20c93fc34aa9a2457530004
Author: Daniel Gustafsson <address@hidden>
AuthorDate: Thu Apr 11 09:22:22 2019 +0200
xattr: skip unittest on unsupported platforms
The stripcredentials unittest fails to compile on platforms without
xattr support, for example the Solaris member in the buildfarm which
fails with the following:
CC unit1621-unit1621.o
CC ../libtest/unit1621-first.o
CCLD unit1621
Undefined first referenced
symbol in file
stripcredentials unit1621-unit1621.o
goto problem 2
ld: fatal: symbol referencing errors. No output written to .libs/unit1621
collect2: error: ld returned 1 exit status
gmake[2]: *** [Makefile:996: unit1621] Error 1
Fix by excluding the test on such platforms by using the reverse
logic from where stripcredentials() is defined.
Closes #3759
Reviewed-by: Daniel Stenberg <address@hidden>
---
tests/unit/unit1621.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/tests/unit/unit1621.c b/tests/unit/unit1621.c
index 6e07b6ea9..618abedfa 100644
--- a/tests/unit/unit1621.c
+++ b/tests/unit/unit1621.c
@@ -35,7 +35,9 @@ static void unit_stop(void)
{
}
-#ifdef __MINGW32__
+#if defined(__MINGW32__) || \
+ (!defined(HAVE_FSETXATTR) && \
+ (!defined(__FreeBSD_version) || (__FreeBSD_version < 500000)))
UNITTEST_START
{
return 0;
--
To stop receiving notification emails like this one, please contact
address@hidden
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] [gnurl] 43/219: xattr: skip unittest on unsupported platforms,
gnunet <=