]> git.proxmox.com Git - mirror_edk2.git/commitdiff
Added result line for valid file
authorlhauch <lhauch@6f19259b-4bc3-4df7-8a09-765794883524>
Wed, 18 Oct 2006 19:22:42 +0000 (19:22 +0000)
committerlhauch <lhauch@6f19259b-4bc3-4df7-8a09-765794883524>
Wed, 18 Oct 2006 19:22:42 +0000 (19:22 +0000)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1796 6f19259b-4bc3-4df7-8a09-765794883524

Tools/Java/Source/CheckTools/src/org/tianocore/CheckTools/CheckTools.java
Tools/Java/Source/CheckTools/src/org/tianocore/CheckTools/ToolChecks.java

index 579c5f50d6e3af58cfe0dd98f13d4fdc4c48b7f0..a7b55279d28a76c47eba1ca74827692599e6827c 100644 (file)
@@ -86,7 +86,7 @@ public class CheckTools {
 
         if (WORKSPACE == null) {
             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";
 
index ad4c544ff8bcefc89cedf776d62e817bdcefa08c..5dbd5c54df0e6268c26a2a88759d1b00a8a53cd4 100644 (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("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;
@@ -147,7 +150,7 @@ public class ToolChecks {
             }
         } catch (IOException e) {
             System.out.println(" [" + testFile + "] " + e);
-            System.exit(1);
+            System.exit(FAIL);
         }
         if (errLog.size() > 0)
             for (int i = 0; i < goodLog.size(); i++) {