Fixed an issue that tried to cat externalprogramstable.txt from the testresults directory when it doesnt exist.

llvm-svn: 29080
This commit is contained in:
Patrick Jenkins 2006-07-10 16:36:19 +00:00
parent 071c83dff0
commit 7aeda4b1ef

View File

@ -777,6 +777,7 @@ if (!$BuildError && $patrickjenkins) {
print "External TEST STAGE\n";
}
($ExternalProgramsTable, $externalsource_llcbeta_options) = TestDirectory("External");
WriteFile "$Prefix-externalprogramstable.txt", $ExternalProgramsTable;
system "cat $Prefix-singlesourceprogramstable.txt $Prefix-multisourceprogramstable.txt ".
" $Prefix-externalprogramstable.txt | sort > $Prefix-Tests.txt";
} else {