From 37516080db6878bef6fb1e6c5542165f3f982792 Mon Sep 17 00:00:00 2001 From: Martin Kagamino Lehoux Date: Sat, 23 Aug 2025 22:07:34 +0200 Subject: code upgrade --- generate.fish | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'generate.fish') diff --git a/generate.fish b/generate.fish index 96f8542..fc84937 100644 --- a/generate.fish +++ b/generate.fish @@ -13,12 +13,11 @@ for f in $fs; for func in $funcs; set pfunc (echo $func | awk '{match($0, /test_[^(]+/); print substr($0, RSTART, RLENGTH)}'); echo "Found $pfunc in $f"; - echo " test($pfunc);" >> test.c + echo " test($pfunc);" >> test.c end; end; echo " - printf(\"Success: %d, Failures: %d\n\", success, failures); + printf(\"Success: %d, Failures: %d\n\", success, failures); - return failures; -} -" >> test.c; + return failures; +}" >> test.c; -- cgit v1.3