Introduce golden file mechanism for tests

This commit is contained in:
2026-04-24 21:09:47 +02:00
parent 9ca72ef5bf
commit a89e61eedd
9 changed files with 66 additions and 24 deletions
+3
View File
@@ -22,6 +22,9 @@ v0/bin/test: $(V0_SRC_OBJ_NO_MAIN) $(V0_TEST_OBJ)
test:: v0/bin/test
v0/bin/test
generate_golden:: v0/bin/test
GENERATE_GOLDEN=1 v0/bin/test
clean::
rm -f v0/bin/test v0/bin/c2 $(V0_SRC_OBJ) $(V0_TEST_OBJ) $(V0_SRC_DEPS) $(V0_TEST_DEPS)