X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=grading%2Fthreads%2Frun-tests;h=a08882211e8e8242f02cfdfa78af6e8edc9bc36d;hb=53ae590973af54de01235c6ccb45de62ab56ae92;hp=db788dcb6b77c639779bf0789578533dca3f4d5a;hpb=3a99831e21877902380dae2f39e1059ecf941db8;p=pintos-anon diff --git a/grading/threads/run-tests b/grading/threads/run-tests index db788dc..a088822 100755 --- a/grading/threads/run-tests +++ b/grading/threads/run-tests @@ -423,7 +423,6 @@ sub verify_common { $details .= "Translation of backtrace:\n"; my (@addrs) = $stack_line[0] =~ /Call stack:((?: 0x[0-9a-f]+)+)/; - print "addrs: '@addrs'\n"; my ($A2L); if (`uname -m` =~ /i.86|pentium.*|[pk][56]|nexgen|viac3|6x86|athlon.*/) { @@ -432,7 +431,8 @@ sub verify_common { $A2L = "i386-elf-addr2line"; } open (A2L, "$A2L -fe output/$test/kernel.o @addrs|"); - while (my $function = ) { + my ($function); + while ($function = ) { my ($line) = ; chomp $function; chomp $line;