diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2025-03-21 22:04:37 -0400 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2025-03-21 22:04:37 -0400 |
| commit | 2f7105d87f11186b99ecd4bd653420e8e215db76 (patch) | |
| tree | cfd79c303612aa9fe409cd0ef4dd3c6d18108167 /Makefile | |
| parent | 30f3c6dcab1d2f696a3b9b4658957cf527587a20 (diff) | |
Move test results to test/results/*.tm.testresult
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -33,7 +33,7 @@ CFLAGS_PLACEHOLDER="$$(echo -e '\033[2m<flags...>\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 \ |
