diff options
author | FreeArtMan <dos21h@gmail.com> | 2017-06-02 16:20:44 +0100 |
---|---|---|
committer | FreeArtMan <dos21h@gmail.com> | 2017-06-02 16:20:44 +0100 |
commit | a877a8ed7b508eb8cc5f7911dfcec8b8612470b3 (patch) | |
tree | 00b901522f01bad243cb14afc2f5ca8698ce5a37 /test/Makefile | |
parent | 65fb94f8fd98d343ae49f7d7e576418dba5a5d46 (diff) | |
download | netbytes-a877a8ed7b508eb8cc5f7911dfcec8b8612470b3.tar.gz netbytes-a877a8ed7b508eb8cc5f7911dfcec8b8612470b3.zip |
Fixed memleaks, rearranged some code
Diffstat (limited to 'test/Makefile')
-rw-r--r-- | test/Makefile | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/test/Makefile b/test/Makefile index c4f4b28..c70c7f0 100644 --- a/test/Makefile +++ b/test/Makefile @@ -1,11 +1,15 @@ CC=gcc -CFLAGS=-I../ -lnetbytes -Wl,-rpath=../ -L../ +CFLAGS=-g3 -I../ -lnetbytes -Wl,-rpath=../ -L../ LDFLAGS= -SOURCE=test_save test_multiple_write test_multiple_read test_add_elem test_alltypes +SOURCE=test_save test_multiple_write test_multiple_read test_add_elem test_alltypes \ +test_key_value_store test_key_value_load SOURCES=$(SOURCE:=.c) make: $(SOURCE) +leak: + valgrind --leak-check=full --track-origins=yes --log-file=log.txt ./test_key_value_store + clean: rm -f $(SOURCE)
\ No newline at end of file |