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
This commit is contained in:
Jim Laskey 2006-09-20 09:20:22 +00:00
parent f142713a30
commit 01d7bcf03d

View File

@ -385,9 +385,8 @@ sub GetDejagnuTestResults { # (filename, log)
while ( <SRCHFILE> ) { while ( <SRCHFILE> ) {
if ( length($_) > 1 ) { if ( length($_) > 1 ) {
chomp($_); chomp($_);
if ( m/^PASS:/ || m/^XPASS:/ || if ( m/^(PASS|XPASS|FAIL|XFAIL): .*\/llvm\/test\/(.*)$/ ) {
m/^FAIL:/ || m/^XFAIL:/) { push(@lines, "$1: test/$2");
push(@lines, "$_");
} }
} }
} }