From: Godmar Back Date: Sun, 7 Jan 2007 21:38:02 +0000 (+0000) Subject: Cosmetic fix: make first column wider to account for longer names in p4. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ef2da35080bbb2014875415efe17c39760306e86;p=pintos-anon Cosmetic fix: make first column wider to account for longer names in p4. --- diff --git a/src/tests/make-grade b/src/tests/make-grade index 5f60fa3..a3faa0e 100755 --- a/src/tests/make-grade +++ b/src/tests/make-grade @@ -72,7 +72,7 @@ while () { push (@rubrics, ''); my ($pct) = ($score / $possible) * $max_pct; - push (@summary, sprintf ("%-40s %3d/%3d %5.1f%%/%5.1f%%", + push (@summary, sprintf ("%-45s %3d/%3d %5.1f%%/%5.1f%%", $rubric_suffix, $score, $possible, $pct, $max_pct)); @@ -82,16 +82,16 @@ while () { close GRADING; my ($sum_line) - = "---------------------------------------- --- --- ------ ------"; + = "--------------------------------------------- --- --- ------ ------"; unshift (@summary, "SUMMARY BY TEST SET", '', - sprintf ("%-40s %3s %3s %6s %6s", + sprintf ("%-45s %3s %3s %6s %6s", "Test Set", "Pts", "Max", "% Ttl", "% Max"), $sum_line); push (@summary, $sum_line, - sprintf ("%-40s %3s %3s %5.1f%%/%5.1f%%", + sprintf ("%-45s %3s %3s %5.1f%%/%5.1f%%", 'Total', '', '', $pct_actual, $pct_possible)); unshift (@rubrics,