From a4c883147d5d80e437bf51dea865d1191496a040 Mon Sep 17 00:00:00 2001 From: Markus Teich Date: Thu, 13 Oct 2016 23:38:18 +0200 Subject: [PATCH] remove test.h dependency from test_brandt.c --- test_brandt.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/test_brandt.c b/test_brandt.c index da74af2..a386124 100644 --- a/test_brandt.c +++ b/test_brandt.c @@ -26,7 +26,6 @@ #include "brandt.h" #include "crypto.h" -#include "test.h" #include "util.h" @@ -317,12 +316,14 @@ test_auctions () int main (int argc, char *argv[]) { + int ret = 0; struct GNUNET_CRYPTO_EccDlogContext *edc; edc = GNUNET_CRYPTO_ecc_dlog_prepare (1024, 16); BRANDT_init (edc); - RUN (test_auctions); + if (!test_auctions()) + ret = 1; GNUNET_CRYPTO_ecc_dlog_release (edc); return ret;