Skip to content

Commit dccf0ac

Browse files
committed
Clarify unit test labeling
1 parent 1ea977a commit dccf0ac

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

grading/grade.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ for eid in `ls $SUBMIT`; do
5555
if [ -e "$runpath/$EXE" ]; then
5656

5757
# summarize unit test results
58-
uresults=$(grep Checks "$runpath/tests/utests.txt")
58+
uresults="Unit results: $(grep Checks "$runpath/tests/utests.txt")"
5959
if [ -z "$(grep "D_" "$runpath/tests/utests.txt")" ]; then
6060
if [ -z "$(grep "C_" "$runpath/tests/utests.txt")" ]; then
6161
if [ -z "$(grep "B_" "$runpath/tests/utests.txt")" ]; then
@@ -124,7 +124,7 @@ for eid in `ls $SUBMIT`; do
124124
fi
125125

126126
# print per-student summary
127-
printf ' %s %12s %-45s %-30s %s' "$ugrade $igrade $bgrade" "$tstamp" "$uresults" "$iresults" "$vresults"
127+
printf ' %s %12s %-55s %-30s %s' "$ugrade $igrade $bgrade" "$tstamp" "$uresults" "$iresults" "$vresults"
128128
[ -n "$cresults" ] && printf ' Compiler warning/error(s).'
129129
[ -n "$sresults" ] && printf ' Insecure function(s).'
130130
echo ""

0 commit comments

Comments
 (0)