ChangeSet ID: 30864
CVSROOT: /opt/cvs-commit
Module name: appdb
Changes by: wineowner(a)winehq.org 2007/01/07 11:41:51
Modified files:
include : testData.php
Log message:
Alexander Nicolaysen Sørnes <alex(a)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 ‘out of the box’.</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 ‘Not Installable’ if the applicatino’s installer does not work</li>\n";
+
return $errors;
}