appdb/include testData.php

WineHQ wineowner at wine.codeweavers.com
Sun Jan 7 11:41:51 CST 2007


ChangeSet ID:	30864
CVSROOT:	/opt/cvs-commit
Module name:	appdb
Changes by:	wineowner at winehq.org	2007/01/07 11:41:51

Modified files:
	include        : testData.php 

Log message:
	Alexander Nicolaysen Sørnes <alex at thehandofagony.com>
	Add more logic checking to test results. Runs? can only be set to 'Not Installable' if the application's installer does
	not work.

Patch: http://cvs.winehq.org/patch.py?id=30864

Old revision  New revision  Changes     Path
 1.16          1.17          +5 -0       appdb/include/testData.php

Index: appdb/include/testData.php
diff -u -p appdb/include/testData.php:1.16 appdb/include/testData.php:1.17
--- appdb/include/testData.php:1.16	7 Jan 2007 17:41:51 -0000
+++ appdb/include/testData.php	7 Jan 2007 17:41:51 -0000
@@ -593,6 +593,11 @@ class testData{
         if (($aValues['sInstalls'] == "No") && ($aValues['sTestedRating'] == PLATINUM_RATING))
             $errors .= "<li>An application can only get a Platinum rating if it installs and runs &#8216;out of the box&#8217;.</li>\n";
 
+        // Basic checking of logic.  Runs? can obviously only be 'Not Installable'
+        // if the application does not install
+        if (($aValues['sInstalls'] != "No") && ($aValues['sRuns'] == "Not Installable"))
+            $errors .= "<li>You can only set Runs? to &#8216;Not Installable&#8217; if the applicatino&#8217;s installer does not work</li>\n";
+
         return $errors;
 
     }



More information about the wine-cvs mailing list