From: Jim Laskey Date: Wed, 20 Sep 2006 09:20:22 +0000 (+0000) Subject: Trim the home directory from the dejagnu test X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;ds=sidebyside;h=01d7bcf03d02f12695678802b57596ab5ce5e107;p=oota-llvm.git Trim the home directory from the dejagnu test git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30519 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/utils/NewNightlyTest.pl b/utils/NewNightlyTest.pl index 5e93ddd4869..4d72646d8b1 100755 --- a/utils/NewNightlyTest.pl +++ b/utils/NewNightlyTest.pl @@ -385,9 +385,8 @@ sub GetDejagnuTestResults { # (filename, log) while ( ) { if ( length($_) > 1 ) { chomp($_); - if ( m/^PASS:/ || m/^XPASS:/ || - m/^FAIL:/ || m/^XFAIL:/) { - push(@lines, "$_"); + if ( m/^(PASS|XPASS|FAIL|XFAIL): .*\/llvm\/test\/(.*)$/ ) { + push(@lines, "$1: test/$2"); } } }