<commit_before>CPPFLAGS = -I../../toku_include -I..
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)

%: %.c
	$(CC) $(CPPFLAGS) $(CFLAGS) -o $@ $< $(LDFLAGS)

test-gettime: test-gettime.c
	$(CC) $(CPPFLAGS) $(CFLAGS) -o $@ $< $(LDFLAGS) -lrt

check: $(RUNTARGETS)

%.tdbrun: %
	$(VGRIND) ./$<

clean:
	rm -rf $(TARGETS)<commit_msg>fix the linux tests make check rule. addresses #1524<commit_after>CPPFLAGS = -I../../toku_include -I..
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)

%: %.c
	$(CC) $(CPPFLAGS) $(CFLAGS) -o $@ $< $(LDFLAGS)

test-gettime: test-gettime.c
	$(CC) $(CPPFLAGS) $(CFLAGS) -o $@ $< $(LDFLAGS) -lrt

check: $(TARGETS) $(RUNTARGETS)

%.tdbrun: %
	$(VGRIND) ./$<

clean:
	rm -rf $(TARGETS)
{'fraction_non_alphanumeric': 0.24003795066413663, 'fraction_numerical': 0.0056925996204933585, 'mean_word_length': 3.8617511520737327, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4852091', 'n_tokens_mistral': 473, 'n_tokens_neox': 454, 'n_words': 100}