Trim the home directory from the dejagnu test
llvm-svn: 30519
This commit is contained in:
parent
fba9e8f422
commit
fbeab72759
|
@ -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");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue