check the linux portability layer. addresses #1524

git-svn-id: file:///svn/toku/tokudb@9874 c7de825b-a66e-492c-adef-691d508d4ae1
This commit is contained in:
Rich Prohaska 2013-04-16 23:57:43 -04:00 committed by Yoni Fogel
parent 7a43ab4554
commit 51759ff06d

View file

@ -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)