Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/Firefox/testing/mozharness/mozharness/mozilla/   (Firefox Browser Version 153.0.1©)  Datei vom 27.6.2026 mit Größe 975 B image not shown  

Quelle  mozbase.py

  Sprache: 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/.

import os

from mozharness.base.script import PreScriptAction


class MozbaseMixin:
    """Automatically set virtualenv requirements to use mozbase
    from test package.
    """

    def __init__(self, *args, **kwargs):
        super().__init__(*args, **kwargs)

    @PreScriptAction("create-virtualenv")
    def _install_mozbase(self, action):
        dirs = self.query_abs_dirs()

        requirements = os.path.join(
            dirs["abs_test_install_dir"],
            "config",
            self.config.get("mozbase_requirements""mozbase_requirements.txt"),
        )
        if not os.path.isfile(requirements):
            self.fatal(f"Could not find mozbase requirements file: {requirements}")

        self.register_virtualenv_module(requirements=[requirements])

Messung V0.5 in Prozent
C=90 H=92 G=90

¤ Dauer der Verarbeitung: 0.3 Sekunden  ¤

*© Formatika GbR, Deutschland






Wurzel

Suchen

PVS Prover

Isabelle Prover

NIST Cobol Testsuite

Cephes Mathematical Library

Vienna Development Method

Haftungshinweis

Die Informationen auf dieser Webseite wurden nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit, noch Qualität der bereit gestellten Informationen zugesichert.

Bemerkung:

Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.