From 37af20d053624e0cc2e5245ec2f6eba7a55158be Mon Sep 17 00:00:00 2001 From: steven-na Date: Sat, 15 Aug 2026 22:01:30 -0700 Subject: Fix coverage recipe and failed tests (retval changes) --- Justfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Justfile') diff --git a/Justfile b/Justfile index e0834e4..7a2547d 100644 --- a/Justfile +++ b/Justfile @@ -87,7 +87,7 @@ test-all: (gen-version "debug") coverage: (gen-version "debug") mkdir -p {{build_dir}}/cov-src {{build_dir}}/cov-tests cd {{build_dir}}/cov-src && {{cc}} {{cflags}} --coverage -c ../../{{src_dir}}/unity.c - cd {{build_dir}}/cov-tests && {{cc}} {{cflags}} --coverage -c ../../{{test_dir}}/unity.c + cd {{build_dir}}/cov-tests && {{cc}} {{cflags}} --coverage -c ../../{{test_dir}}/*.c {{cc}} {{cflags}} --coverage {{build_dir}}/cov-src/*.o {{build_dir}}/cov-tests/*.o -o {{build_dir}}/test-coverage -lcriterion {{lflags}} ./{{build_dir}}/test-coverage gcovr --root . --filter '{{src_dir}}/' {{build_dir}}/cov-src --html-details {{build_dir}}/coverage.html --print-summary -- cgit v1.2.3