<commit_before>CC = gcc
CFLAGS = -g -Wall -ansi -D_GNU_SOURCE -DSTRATEGY=1
BENCHMARK_CFLAGS = -O4 -Wall -ansi -D_GNU_SOURCE -lrt

TESTS = tstmerge \
        tstalgorithms \
        tstextreme \
        tstmalloc \
        tstmemory \
        tstrealloc

BENCHMARKS = benchmark-worst-first-fit \
             benchmark-worst-best-fit \
             benchmark-worst-system \
             benchmark-block-sizes-first-fit \
             benchmark-block-sizes-best-fit \
             benchmark-block-sizes-system \
			 benchmark-memory-first-fit \
			 benchmark-memory-best-fit

all: $(TESTS) $(BENCHMARKS)
	#exec ./RUN_TESTS

malloc.o: malloc.c
	$(CC) -c $(CFLAGS) -o $@ $^

$(TESTS): % : malloc.o %.c
	$(CC) $(CFLAGS) -o $@ $^<commit_msg>Run tests automatically.<commit_after>CC = gcc
CFLAGS = -g -Wall -ansi -D_GNU_SOURCE -DSTRATEGY=1
BENCHMARK_CFLAGS = -O4 -Wall -ansi -D_GNU_SOURCE -lrt

TESTS = tstmerge \
        tstalgorithms \
        tstextreme \
        tstmalloc \
        tstmemory \
        tstrealloc

BENCHMARKS = benchmark-worst-first-fit \
             benchmark-worst-best-fit \
             benchmark-worst-system \
             benchmark-block-sizes-first-fit \
             benchmark-block-sizes-best-fit \
             benchmark-block-sizes-system \
			 benchmark-memory-first-fit \
			 benchmark-memory-best-fit

all: $(TESTS) $(BENCHMARKS)
	exec ./RUN_TESTS

malloc.o: malloc.c
	$(CC) -c $(CFLAGS) -o $@ $^

$(TESTS): % : malloc.o %.c
	$(CC) $(CFLAGS) -o $@ $^
{'fraction_non_alphanumeric': 0.13648648648648648, 'fraction_numerical': 0.002702702702702703, 'mean_word_length': 1.9858870967741935, 'pattern_counts': {'":': 0, '<': 3, '<?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': '6458809', 'n_tokens_mistral': 580, 'n_tokens_neox': 543, 'n_words': 96}