#include "platform.h"
#include "gnunet_util_lib.h"
-#if HAVE_LIBGLPK && HAVE_GLPK
+#if HAVE_LIBGLPK
#include "gnunet_testing_lib.h"
#include "gnunet_transport_service.h"
#include "gauger.h"
-#include "transport_ats.h"
+#include "gnunet_transport_ats.h"
#define VERBOSE GNUNET_NO
GNUNET_GETOPT_OPTION_END
};
GNUNET_PROGRAM_run ((sizeof (argv) / sizeof (char *)) - 1,
- argv, "test-transport-ats", "nohelp",
+ argv, "test_transport_ats_multiple_peers", "nohelp",
options, &run, &ok);
return ok;
}
int
main (int argc, char *argv[])
{
- int ret;
+ int ret = 0;
GNUNET_log_setup ("test-transport-ats-multiple-peers",
#if VERBOSE
#endif
NULL);
-#if !HAVE_LIBGLPK && !HAVE_GLPK
+#if !HAVE_LIBGLPK
GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
"GLPK not installed, exiting testcase\n");
- return 0;
+ return ret;
#else
-
GNUNET_DISK_directory_remove ("/tmp/test-gnunet-testing");
machine_parsable = GNUNET_NO;
peers = NUM_PEERS;
}
}
-
-
ret = check ();
/**
* Still need to remove the base testing directory here,