Part 2 of Bug 930194 - Add prerequisite checks for MozillaMaintenance Service tests that fail the tests if the build system is not properly configured. r=bbondy

This commit is contained in:
Robert Strong 2014-01-10 18:45:54 -08:00
parent 448fd0a7b4
commit 61abc7999a

View File

@ -783,8 +783,10 @@ function shouldRunServiceTest(aFirstTest) {
#ifndef DISABLE_UPDATER_AUTHENTICODE_CHECK
if (!isBinarySigned(updaterBinPath)) {
logTestInfo("this test can only run on builds with signed binaries.");
return false;
logTestInfo("test registry key exists but this test can only run on " +
"builds with signed binaries when " +
"DISABLE_UPDATER_AUTHENTICODE_CHECK is not defined");
do_throw("this test can only run on builds with signed binaries.");
}
#endif
return true;