@@ -487,7 +487,7 @@ on TestLoadAuxiliaryExtension pName, pResourceFolder
487487 end if
488488end TestLoadAuxiliaryExtension
489489
490- constant kBytecodePathPrefix = "_tests/_build/"
490+ constant kTestsBuildPath = "_tests/_build/"
491491function TestGetBuiltBytecodeFile pName
492492 local tBasePath , tExtraPath
493493 set the itemDelimiter to slash
@@ -501,11 +501,15 @@ function TestGetBuiltBytecodeFile pName
501501 put item 1 to tTestsOffset - 1 of tBasePath into tBasePath
502502
503503 local tModuleFile
504- put tBasePath & "/" & kBytecodePathPrefix & tExtraPath & slash & \
504+ put tBasePath & "/" & kTestsBuildPath & tExtraPath & slash & \
505505 pName & ".lcm" into tModuleFile
506506 return tModuleFile
507507end TestGetBuiltBytecodeFile
508508
509+ function TestGetTestBuildFolder
510+ return TestGetEngineRepositoryPath() & slash & kTestsBuildPath
511+ end TestGetTestBuildFolder
512+
509513on TestLoadAllExtensions
510514 local tExtFolder
511515 put _TestGetBuiltExtensionsFolder() into tExtFolder
@@ -680,6 +684,11 @@ private function __MeetsRequirements pRequirement, pOptions
680684 if TestIsInStandalone() then
681685 return false
682686 end if
687+
688+ if "revpdfprinter" is among the items of pOptions \
689+ and the environment is "server" then
690+ return false
691+ end if
683692 return the platform is not "HTML5"
684693 case "database"
685694 if not __MeetsRequirements("external" , "revdb" ) then
0 commit comments