diff --git a/taskcluster/ci/test/awsy.yml b/taskcluster/ci/test/awsy.yml index dfd184116e18..7db575c2b582 100644 --- a/taskcluster/ci/test/awsy.yml +++ b/taskcluster/ci/test/awsy.yml @@ -26,6 +26,14 @@ awsy: .*-devedition/.*: [] # don't run on devedition default: built-projects +awsy-dmd: + description: "Are we slim yet - dmd enabled" + treeherder-symbol: SY(sy-d) + run-on-projects: ['try'] + mozharness: + extra-options: + - --dmd + awsy-base: description: "Are we slim yet - about:blank base case" treeherder-symbol: SY(ab) @@ -37,6 +45,15 @@ awsy-base: extra-options: - --base +awsy-base-dmd: + description: "Are we slim yet - about:blank base case - dmd enabled" + treeherder-symbol: SY(ab-d) + run-on-projects: ['try'] + mozharness: + extra-options: + - --base + - --dmd + awsy-stylo-sequential: description: "Are we slim yet for Stylo sequential" treeherder-symbol: SYss(sy) diff --git a/taskcluster/ci/test/test-sets.yml b/taskcluster/ci/test/test-sets.yml index 5d409235684b..a00d82941ff5 100644 --- a/taskcluster/ci/test/test-sets.yml +++ b/taskcluster/ci/test/test-sets.yml @@ -119,6 +119,8 @@ raptor-fetch-chrome: awsy: - awsy - awsy-base + - awsy-dmd + - awsy-base-dmd awsy-stylo-sequential: - awsy-stylo-sequential diff --git a/testing/mozharness/scripts/awsy_script.py b/testing/mozharness/scripts/awsy_script.py index 83c9bd37f201..7a4d505a7096 100644 --- a/testing/mozharness/scripts/awsy_script.py +++ b/testing/mozharness/scripts/awsy_script.py @@ -56,6 +56,12 @@ class AWSY(TestingMixin, MercurialScript, TooltoolMixin, CodeCoverageMixin): "dest": "test_about_blank", "default": False, "help": "Runs the about:blank base case memory test.", + }], + [["--dmd"], + {"action": "store_true", + "dest": "dmd", + "default": False, + "help": "Runs tests with DMD enabled.", }] ] + testing_config_options + copy.deepcopy(code_coverage_config_options) @@ -162,7 +168,7 @@ class AWSY(TestingMixin, MercurialScript, TooltoolMixin, CodeCoverageMixin): dmd_py_lib_dir = os.path.join(dmd_py_lib_dir, "../Resources/") dmd_path = os.path.join(dmd_py_lib_dir, "dmd.py") - if os.path.isfile(dmd_path): + if self.config['dmd'] and os.path.isfile(dmd_path): dmd_enabled = True runtime_testvars['dmd'] = True