Add more logic checking to test results. Runs? can only be set to 'Not Installable' if the application's installer does
not work.
This commit is contained in:
committed by
WineHQ
parent
2f52b01ff0
commit
7cbada84c8
@@ -593,6 +593,11 @@ class testData{
|
|||||||
if (($aValues['sInstalls'] == "No") && ($aValues['sTestedRating'] == PLATINUM_RATING))
|
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";
|
$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;
|
return $errors;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user