nixpkgs/pkgs/applications/networking/p2p/gnunet/disable-broken-tests.patch
Ludovic Courtès eddce10d13 Add GNUnet, GNU's anonymous peer-to-peer communication framework.
svn path=/nixpkgs/trunk/; revision=12699
2008-08-24 18:48:09 +00:00

53 lines
1.8 KiB
Diff

This patch disables tests that appear to be broken or cannot run in the
chroot.
* `timertest' fails without any message, which would indicate
something fishy in the test itself.
* `httptest' fails because it can't resolve some hostname.
* `hostlisttest' fails to connect to the daemon:
"Could not establish connection with peer."
diff --git a/src/util/threads/Makefile.in b/src/util/threads/Makefile.in
index d14152d..4bf6550 100644
--- a/src/util/threads/Makefile.in
+++ b/src/util/threads/Makefile.in
@@ -38,7 +38,7 @@ PRE_UNINSTALL = :
POST_UNINSTALL = :
host_triplet = @host@
check_PROGRAMS = semaphoretest$(EXEEXT) shutdowntest$(EXEEXT) \
- shutdowntest2$(EXEEXT) timertest$(EXEEXT)
+ shutdowntest2$(EXEEXT)
subdir = src/util/threads
DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
diff --git a/src/applications/bootstrap_http/Makefile.in b/src/applications/bootstrap_http/Makefile.in
index 29800af..ad5c6a1 100644
--- a/src/applications/bootstrap_http/Makefile.in
+++ b/src/applications/bootstrap_http/Makefile.in
@@ -37,7 +37,7 @@ NORMAL_UNINSTALL = :
PRE_UNINSTALL = :
POST_UNINSTALL = :
host_triplet = @host@
-check_PROGRAMS = httptest$(EXEEXT)
+check_PROGRAMS =
subdir = src/applications/bootstrap_http
DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
diff --git a/src/applications/hostlist/Makefile.in b/src/applications/hostlist/Makefile.in
index 126df5e..2317c60 100644
--- a/src/applications/hostlist/Makefile.in
+++ b/src/applications/hostlist/Makefile.in
@@ -37,7 +37,7 @@ NORMAL_UNINSTALL = :
PRE_UNINSTALL = :
POST_UNINSTALL = :
host_triplet = @host@
-check_PROGRAMS = hostlisttest$(EXEEXT)
+check_PROGRAMS =
subdir = src/applications/hostlist
DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4