diff --git a/Makefile b/Makefile index 200f01f8392..cf318dc2da6 100644 --- a/Makefile +++ b/Makefile @@ -21,7 +21,7 @@ utils.dir: src.dir build: $(patsubst %,%.dir, $(BUILDDIRS)) -CHECKS = $(patsubst %,%.checkdir,$(filter-out linux, $(SRCDIRS))) +CHECKS = $(patsubst %,%.checkdir,$(SRCDIRS)) # This is the original check rule # The stuff below allows "make -j2 -k check" to work diff --git a/linux/Makefile b/linux/Makefile index 775a0e550fd..82b8ec400b2 100644 --- a/linux/Makefile +++ b/linux/Makefile @@ -22,6 +22,10 @@ $(TARGET): $(OBJS) $(OBJS): CFLAGS += -DTOKU_ALLOW_DEPRECATED #Blank on purpose +check: $(TARGET) + cd tests; $(MAKE) check + clean: rm -rf $(TARGET) $(LIBPORTABILITY) + cd tests; $(MAKE) clean diff --git a/linux/tests/test-wss.c b/linux/tests/test-wss.c index 78fe6dbf7ba..632cb1d971c 100644 --- a/linux/tests/test-wss.c +++ b/linux/tests/test-wss.c @@ -11,11 +11,14 @@ const int buffersize = 1024*1024; static void do_mallocs(void) { int i; + void *vp[nbuffers]; for (i=0; i