fix include
[oweals/gnunet.git] / src / integration-tests / Makefile.am
index 8f818ddee0788a3615066d43e14c3046fb56355c..6fff0b407b817807b88df6a27b8dce1312bf96f2 100644 (file)
@@ -27,9 +27,16 @@ endif
 
 if HAVE_MHD
 if ENABLE_TEST_RUN
-AM_TESTS_ENVIRONMENT=export GNUNET_PREFIX=$${GNUNET_PREFIX:-@libdir@};export PATH=$${GNUNET_PREFIX:-@prefix@}/bin:$$PATH;
+AM_TESTS_ENVIRONMENT=export GNUNET_PREFIX=$${GNUNET_PREFIX:-@libdir@};export PATH=$${GNUNET_PREFIX:-@prefix@}/bin:$$PATH;unset XDG_DATA_HOME;unset XDG_CONFIG_HOME;
+if HAVE_LIBGNURL
 TESTS = \
  $(check_SCRIPTS)
+else
+if HAVE_LIBCURL
+TESTS = \
+ $(check_SCRIPTS)
+endif
+endif
 endif
 endif
 
@@ -54,7 +61,7 @@ test_integration_bootstrap_and_connect.py: test_integration_bootstrap_and_connec
 test_integration_disconnect.py: test_integration_disconnect.py.in Makefile
        $(do_subst) < $(srcdir)/test_integration_disconnect.py.in > test_integration_disconnect.py
        chmod +x test_integration_disconnect.py
-       
+
 test_integration_disconnect_nat.py: test_integration_disconnect_nat.py.in Makefile
        $(do_subst) < $(srcdir)/test_integration_disconnect_nat.py.in > test_integration_disconnect_nat.py
        chmod +x test_integration_disconnect_nat.py