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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29080 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Patrick Jenkins 2006-07-10 16:36:19 +00:00
parent aefe14299a
commit 7b4bb60e9a

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 {