File tree Expand file tree Collapse file tree 2 files changed +99
-98
lines changed Expand file tree Collapse file tree 2 files changed +99
-98
lines changed Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ echo "## List of tested functions" > $outfile
25
25
for f in $files
26
26
do
27
27
echo -e " \n### $f " >> $outfile
28
- echo -e " | Function | Tested? | Search link |" >> $outfile
28
+ echo -e " | Function | Tested? | Occurrences |" >> $outfile
29
29
echo -e " | -------- | ------- | ----------- |" >> $outfile
30
30
31
31
# This will produce a list of funcName:funcLine, which we'll parse in the for loop below.
44
44
searchLink=" "
45
45
else
46
46
(( totalTested++ ))
47
- foundStr=" YES (x$count )"
48
- searchLink=" [occurrences](https://github.com/search?q=${func} +repo%3ACE-Programming%2Ftoolchain+path%3Aexamples&type=Code)"
47
+ [[ " $count " == " 1" ]] && plural=" " || plural=" s"
48
+ foundStr=" YES"
49
+ searchLink=" [in $count file${plural} ](https://github.com/search?q=${func} +repo%3ACE-Programming%2Ftoolchain+path%3Aexamples&type=Code)"
49
50
fi
50
51
echo -e " | [\` ${func} \` ](/${f} #L${line} ) | $foundStr | $searchLink " >> $outfile
51
52
done
You can’t perform that action at this time.
0 commit comments