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
2525for f in $files
2626do
2727 echo -e " \n### $f " >> $outfile
28- echo -e " | Function | Tested? | Search link |" >> $outfile
28+ echo -e " | Function | Tested? | Occurrences |" >> $outfile
2929 echo -e " | -------- | ------- | ----------- |" >> $outfile
3030
3131 # This will produce a list of funcName:funcLine, which we'll parse in the for loop below.
4444 searchLink=" "
4545 else
4646 (( 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)"
4950 fi
5051 echo -e " | [\` ${func} \` ](/${f} #L${line} ) | $foundStr | $searchLink " >> $outfile
5152 done
You can’t perform that action at this time.
0 commit comments