Trim the home directory from the dejagnu test

llvm-svn: 30519
This commit is contained in:
Jim Laskey 2006-09-20 09:20:22 +00:00
parent fba9e8f422
commit fbeab72759
1 changed files with 2 additions and 3 deletions

View File

@ -385,9 +385,8 @@ sub GetDejagnuTestResults { # (filename, log)
while ( <SRCHFILE> ) {
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");
}
}
}