Reviewed by Adam Roben.
authorap@webkit.org <ap@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 17 Nov 2007 08:28:23 +0000 (08:28 +0000)
committerap@webkit.org <ap@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 17 Nov 2007 08:28:23 +0000 (08:28 +0000)
        * Scripts/run-webkit-tests: Avoid an uninitialized warning if WEBKIT_TESTFONTS is not defined.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@27872 268f45cc-cd09-0410-ab3c-d52691b4dbfc

WebKitTools/ChangeLog
WebKitTools/Scripts/run-webkit-tests

index cc74b5657ed4814da859e5d9f1f8abd755290ddd..67c56c242a261a96bb6a97656aefd5286c0986bf 100644 (file)
@@ -1,3 +1,9 @@
+2007-11-16  Alexey Proskuryakov  <ap@webkit.org>
+
+        Reviewed by Adam Roben.
+
+        * Scripts/run-webkit-tests: Avoid an uninitialized warning if WEBKIT_TESTFONTS is not defined. 
+
 2007-11-16  Ryan Leavengood  <leavengood@gmail.com>
 
         Reviewed by David Kilzer.
index cee5085cb2f4aed6f4d8a28de33dcca0d904bddb..4f934acc001375dc38a57ca66456950d3d451fc1 100755 (executable)
@@ -1164,7 +1164,9 @@ sub openDumpTool()
     if (isCygwin()) {
         $ENV{HOMEDRIVE} = $homeDrive;
         $ENV{HOMEPATH} = $homePath;
-        $ENV{WEBKIT_TESTFONTS} = $testfonts;
+        if ($testfonts) {
+            $ENV{WEBKIT_TESTFONTS} = $testfonts;
+        }
         setPathForRunningWebKitApp(\%ENV) if isCygwin();
     }