Ejemplo n.º 1
0
 def test_macos_wk1_debug_factory(self):
     factory = factories.macOSWK1Factory(platform='mac-mojave',
                                         configuration='debug',
                                         architectures=["x86_64"])
     self.assertBuildSteps(factory.steps, [
         _BuildStepFactory(steps.ConfigureBuild,
                           platform='mac-mojave',
                           configuration='debug',
                           architectures=["x86_64"],
                           buildOnly=False,
                           triggers=None,
                           triggered_by=None,
                           remotes=None,
                           additionalArguments=None),
         _BuildStepFactory(steps.CheckPatchRelevance),
         _BuildStepFactory(steps.ValidatePatch),
         _BuildStepFactory(steps.PrintConfiguration),
         _BuildStepFactory(steps.CheckOutSource),
         _BuildStepFactory(steps.CheckOutSpecificRevision),
         _BuildStepFactory(steps.ShowIdentifier),
         _BuildStepFactory(steps.ApplyPatch),
         _BuildStepFactory(steps.DownloadBuiltProduct),
         _BuildStepFactory(steps.ExtractBuiltProduct),
         _BuildStepFactory(steps.WaitForCrashCollection),
         _BuildStepFactory(steps.KillOldProcesses),
         _BuildStepFactory(steps.RunWebKit1Tests),
         _BuildStepFactory(steps.TriggerCrashLogSubmission),
         _BuildStepFactory(steps.SetBuildSummary),
     ])
Ejemplo n.º 2
0
 def test_macos_wk1_release_factory(self):
     factory = factories.macOSWK1Factory(platform='mac-catalina',
                                         configuration='release',
                                         architectures=["x86_64"])
     self.assertBuildSteps(factory.steps, [
         _BuildStepFactory(steps.ConfigureBuild,
                           platform='mac-catalina',
                           configuration='release',
                           architectures=["x86_64"],
                           buildOnly=False,
                           triggers=None,
                           triggered_by=None,
                           remotes=None,
                           additionalArguments=None),
         _BuildStepFactory(steps.CheckPatchRelevance),
         _BuildStepFactory(steps.ValidatePatch),
         _BuildStepFactory(steps.PrintConfiguration),
         _BuildStepFactory(steps.CheckOutSource),
         _BuildStepFactory(steps.CheckOutSpecificRevision),
         _BuildStepFactory(steps.FetchBranches),
         _BuildStepFactory(steps.ShowIdentifier),
         _BuildStepFactory(steps.ApplyPatch),
         _BuildStepFactory(steps.DownloadBuiltProduct),
         _BuildStepFactory(steps.ExtractBuiltProduct),
         _BuildStepFactory(steps.WaitForCrashCollection),
         _BuildStepFactory(steps.KillOldProcesses),
         _BuildStepFactory(steps.FindModifiedLayoutTests,
                           skipBuildIfNoResult=False),
         _BuildStepFactory(steps.RunWebKitTestsInStressMode,
                           num_iterations=10),
         _BuildStepFactory(steps.RunWebKit1Tests),
         _BuildStepFactory(steps.TriggerCrashLogSubmission),
         _BuildStepFactory(steps.SetBuildSummary),
     ])