Commit ec64cd9f authored by Mike Conley's avatar Mike Conley
Browse files

Bug 1900618 - Add an automation test condition to mozinfo. r=jmaher,taskgraph-reviewers

parent d748b4b1
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -100,6 +100,7 @@ def build_dict(config, env=os.environ):
    d["isolated_process"] = (
        substs.get("MOZ_ANDROID_CONTENT_SERVICE_ISOLATED_PROCESS") == "1"
    )
    d["automation"] = substs.get("MOZ_AUTOMATION") == "1"

    def guess_platform():
        if d["buildapp"] == "browser":
+2 −0
Original line number Diff line number Diff line
@@ -136,6 +136,8 @@ def guess_mozinfo_from_task(task, repo=""):
            info[tag] = True
        else:
            info[tag] = False

    info["automation"] = True
    return info