From 0b3e3f2b63c8e856a391eb3686486f4c40d29f6d Mon Sep 17 00:00:00 2001 From: Alvaro Denis Date: Thu, 23 May 2019 17:56:54 -0400 Subject: [PATCH] disable mem clean up ref #34 --- Makefile | 2 +- lib/cgo/tests/testutils/libsky_testutil.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 4b9b548b6..f56fd9409 100644 --- a/Makefile +++ b/Makefile @@ -118,7 +118,7 @@ test-libc: build-libc ## Run tests for libskycoin C client library test-hw-crypto: install-deps-libc-linux install-lib-curl build-libc ## Run tests for hardware wallet crypto API $(CC) -o $(BIN_DIR)/test_hardwarewallet $(LIB_DIR)/cgo/tests/*.common.c $(LIB_DIR)/cgo/tests/testutils/libsky_string.c $(LIB_DIR)/cgo/tests/testutils/libsky_assert.c $(LIB_DIR)/cgo/tests/testutils/common.c $(LIB_DIR)/cgo/tests/test_main_hw.c -L$(HARDWARE_WALLET_ROOT_DIR)/skycoin-api -Wl,-rpath,$(HARDWARE_WALLET_ROOT_DIR)/skycoin-api -lskycoin-crypto-wrapper -lskycoin-crypto `pkg-config --cflags --libs check` -lpthread -Ilib/cgo -Iinclude -Ibuild/usr/include -I$(HARDWARE_WALLET_ROOT_DIR) - valgrind --tool=memcheck --leak-check=full --track-origins=yes $(BIN_DIR)/test_hardwarewallet + $(BIN_DIR)/test_hardwarewallet docs-skyapi: ## Generate SkyApi (libcurl) documentation openapi-generator generate -g html2 -i lib/swagger/skycoin.v0.25.1.openapi.v2.yml -o $(LIBCURLDOC_DIR) diff --git a/lib/cgo/tests/testutils/libsky_testutil.c b/lib/cgo/tests/testutils/libsky_testutil.c index 270f69e2b..d36ee89b0 100644 --- a/lib/cgo/tests/testutils/libsky_testutil.c +++ b/lib/cgo/tests/testutils/libsky_testutil.c @@ -226,7 +226,7 @@ json_value* loadJsonFile(const char* filename){ void setup(void) { srand(time(NULL)); } void teardown(void) { - cleanupMem(); +// cleanupMem(); } // TODO: Move to libsky_io.c