aboutsummaryrefslogtreecommitdiff
path: root/generate.fish
diff options
context:
space:
mode:
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;