Skip to content

Commit

Permalink
disable mem clean up ref #34
Browse files Browse the repository at this point in the history
  • Loading branch information
Alvaro Denis committed May 23, 2019
1 parent 8778c36 commit 0b3e3f2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion lib/cgo/tests/testutils/libsky_testutil.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0b3e3f2

Please sign in to comment.