From 14d48fc80e2190537e785498d5cb98b15ce0837e Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Fri, 8 Dec 2006 15:52:37 +0000 Subject: [PATCH] Grab hard disk statistics from submissions and put them in hdd.stats. --- ta-advice/run-tests | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ta-advice/run-tests b/ta-advice/run-tests index 74d1130..d3291f1 100755 --- a/ta-advice/run-tests +++ b/ta-advice/run-tests @@ -106,6 +106,8 @@ if (do_step (6)) { print "Saving grade report to tests.out...\n"; xsystem ("cp pintos/src/$project/build/grade tests.out", DIE => "copy failed"); + xsystem ("(cd pintos/src/$project/build && find tests -name '*.output' " + . " | xargs grep '^hd[01]:[01]: [0-9]') > hdd.stats"); } if (do_step (7)) { -- 2.30.2