Added result line for valid file

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1796 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
lhauch 2006-10-18 19:22:42 +00:00
parent 1095e1fc18
commit dbfb39ef04
2 changed files with 5 additions and 2 deletions

View File

@ -86,7 +86,7 @@ public class CheckTools {
if (WORKSPACE == null) { if (WORKSPACE == null) {
System.out.println("Please set the environment variable, WORKSPACE and run again."); System.out.println("Please set the environment variable, WORKSPACE and run again.");
System.exit(1); System.exit(FAIL);
} }
String targetTxt = WORKSPACE + SEP + "Tools" + SEP + "Conf" + SEP + "target.txt"; String targetTxt = WORKSPACE + SEP + "Tools" + SEP + "Conf" + SEP + "target.txt";

View File

@ -93,6 +93,9 @@ public class ToolChecks {
System.out.println("and commenting out out or deleting the entries for the tool"); System.out.println("and commenting out out or deleting the entries for the tool");
System.out.println("chain tag names that do not apply to your system."); System.out.println("chain tag names that do not apply to your system.");
} }
} else {
System.out.println("");
System.out.println(" Tool Configuration File: " + toolConfFile + " is valid!");
} }
return returnCode; return returnCode;
@ -147,7 +150,7 @@ public class ToolChecks {
} }
} catch (IOException e) { } catch (IOException e) {
System.out.println(" [" + testFile + "] " + e); System.out.println(" [" + testFile + "] " + e);
System.exit(1); System.exit(FAIL);
} }
if (errLog.size() > 0) if (errLog.size() > 0)
for (int i = 0; i < goodLog.size(); i++) { for (int i = 0; i < goodLog.size(); i++) {