Commit d3ed1d6a authored by brizental's avatar brizental
Browse files

fixup! BB 43243: Modify mozharness scripts for Base Browser

I was trying to run the mozharness scripts with a nightly build
and I learned that they weren't working due to the nightly not
being a debug app. This addresses that issue and should work
for any version of the app.

Without it the geckoview-config.yaml file isn't read, unless the app
is android:debuggable.
parent 891927e5
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -523,6 +523,14 @@ class AndroidEmulatorTest(
            remote_path = f"/data/local/tmp/{self.package_name}-geckoview-config.yaml"
            self.run_command([adb, "push", tmp_file.name, remote_path])

        self.run_command([
            adb,
            "shell",
            "am",
            "set-debug-app",
            "--persistent",
            self.package_name,
        ])
        self.run_command([
            adb,
            "shell",
@@ -693,6 +701,7 @@ class AndroidEmulatorTest(
        if ("marionette", "marionette") in self._query_suites():
            adb = self.query_exe("adb")
            self.run_command([adb, "shell", "am", "force-stop", self.package_name])
            self.run_command([adb, "shell", "am", "clear-debug-app"])
            self.run_command([adb, "uninstall", self.package_name])
            self.run_command([
                adb,