Files
Gregory Mierzwinski fd725a2224 Bug 2038458 - Enable running browsertime tests on non-rooted devices. r=perftest-reviewers,aglavic
This patch makes changes to better handle the storage for the app/geckodriver to let us use non-rooted devices. The fixes here are needed to handle pulling/pushing the profile that gets used by fenix (both from raptor, and condprof). Note that `rm` doesn't always work depending on the storage/shell permissions currently in effect. Pushing overwrites existing files, and the pm clear's should handle other files, but there's still a possibility that some prior run data continues existing. A check is added when a non-rooted device is detected to ensure that the user understands the profile of the app will be deleted prior to running the test.

Differential Revision: https://phabricator.services.mozilla.com/D299548
2026-07-09 16:22:47 +00:00

33 lines
909 B
Python

# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
from setuptools import find_packages, setup
entry_points = """
[console_scripts]
cp-creator = condprof.main:main
cp-client = condprof.client:main
"""
setup(
name="conditioned-profile",
version="0.3",
packages=find_packages(),
description="Firefox Heavy Profile creator",
include_package_data=True,
data_files=[
(
"condprof",
[
"condprof/customization/default.json",
"condprof/customization/youtube.json",
"condprof/customization/webext.json",
],
)
],
zip_safe=False,
install_requires=[], # use requirements files
entry_points=entry_points,
)