From 2f7105d87f11186b99ecd4bd653420e8e215db76 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Fri, 21 Mar 2025 22:04:37 -0400 Subject: [PATCH] Move test results to test/results/*.tm.testresult --- Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 7c8f502..157a3bc 100644 --- a/Makefile +++ b/Makefile @@ -33,7 +33,7 @@ CFLAGS_PLACEHOLDER="$$(echo -e '\033[2m\033[m')" LDLIBS=-lgc -lcord -lm -lunistring -lgmp -ldl COMPILER_OBJS=$(patsubst %.c,%.o,$(wildcard src/*.c)) STDLIB_OBJS=$(patsubst %.c,%.o,$(wildcard src/stdlib/*.c)) -TESTS=$(patsubst %.tm,%.tm.testresult,$(wildcard test/*.tm)) +TESTS=$(patsubst test/%.tm,test/results/%.tm.testresult,$(wildcard test/*.tm)) all: build/libtomo.so build/tomo @@ -57,7 +57,8 @@ tags: %: %.tm tomo -e $< -%.tm.testresult: %.tm build/tomo +test/results/%.tm.testresult: test/%.tm build/tomo + @mkdir -p test/results @printf '\x1b[33;1;4m%s\x1b[m\n' $< @set -o pipefail; \ if ! VERBOSE=0 COLOR=1 LC_ALL=C CC=gcc ./build/tomo -O 1 $< 2>&1 | tee $@; then \