Commit 12e6ecc0 authored by Rich Prohaska's avatar Rich Prohaska Committed by Yoni Fogel

check the linux portability layer. addresses #1524

git-svn-id: file:///svn/toku/tokudb@9874 c7de825b-a66e-492c-adef-691d508d4ae1
parent 62ddb8b9
......@@ -3,6 +3,8 @@ CFLAGS = -Wall -Werror -g -O0
LDFLAGS = ../libtokuportability.a -lpthread
SRCS = $(wildcard test-*.c)
TARGETS = $(patsubst %.c,%,$(SRCS))
RUNTARGETS = $(patsubst %,%.tdbrun,$(TARGETS))
VGRIND = valgrind
all: $(TARGETS)
......@@ -12,5 +14,10 @@ all: $(TARGETS)
test-gettime: test-gettime.c
$(CC) $(CPPFLAGS) $(CFLAGS) -o $@ $< $(LDFLAGS) -lrt
check: $(RUNTARGETS)
%.tdbrun: %
$(VGRIND) ./$<
clean:
rm -rf $(TARGETS)
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment