mirror of
https://github.com/MariaDB/server.git
synced 2025-02-02 03:51:50 +01:00
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:
parent
7a43ab4554
commit
51759ff06d
1 changed files with 7 additions and 0 deletions
|
@ -3,6 +3,8 @@ CFLAGS = -Wall -Werror -g -O0
|
||||||
LDFLAGS = ../libtokuportability.a -lpthread
|
LDFLAGS = ../libtokuportability.a -lpthread
|
||||||
SRCS = $(wildcard test-*.c)
|
SRCS = $(wildcard test-*.c)
|
||||||
TARGETS = $(patsubst %.c,%,$(SRCS))
|
TARGETS = $(patsubst %.c,%,$(SRCS))
|
||||||
|
RUNTARGETS = $(patsubst %,%.tdbrun,$(TARGETS))
|
||||||
|
VGRIND = valgrind
|
||||||
|
|
||||||
all: $(TARGETS)
|
all: $(TARGETS)
|
||||||
|
|
||||||
|
@ -12,5 +14,10 @@ all: $(TARGETS)
|
||||||
test-gettime: test-gettime.c
|
test-gettime: test-gettime.c
|
||||||
$(CC) $(CPPFLAGS) $(CFLAGS) -o $@ $< $(LDFLAGS) -lrt
|
$(CC) $(CPPFLAGS) $(CFLAGS) -o $@ $< $(LDFLAGS) -lrt
|
||||||
|
|
||||||
|
check: $(RUNTARGETS)
|
||||||
|
|
||||||
|
%.tdbrun: %
|
||||||
|
$(VGRIND) ./$<
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -rf $(TARGETS)
|
rm -rf $(TARGETS)
|
Loading…
Add table
Reference in a new issue