aboutsummaryrefslogtreecommitdiff
path: root/generate.fish
diff options
context:
space:
mode:
authorMartin Kagamino Lehoux <martin@lehoux.net>2025-08-23 22:07:34 +0200
committerMartin Kagamino Lehoux <martin@lehoux.net>2025-08-27 11:46:25 +0200
commit37516080db6878bef6fb1e6c5542165f3f982792 (patch)
treed6d37921249b52b53df7166aaf67db510469f3c4 /generate.fish
parentb22b59adb72371d6ca7072eca2c166f4c2534677 (diff)
code upgrade
Diffstat (limited to 'generate.fish')
-rw-r--r--generate.fish9
1 files changed, 4 insertions, 5 deletions
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;