Exemple #1
0
    def run_mozharness(self):
        sys.path.insert(0, self.mozharness_dir)
        from mozharness.mozilla.testing.talos import Talos

        talos_mh = Talos(
            config=self.args["config"],
            initial_config_file=self.args["initial_config_file"],
        )
        return talos_mh.run()
    def __init__(self, require_config_file=False):

        # initialize parent class
        Talos.__init__(self,
                       config={'tests': ['ts'], 'repos': self.default_repos},
                       all_actions=self.actions,
                       default_actions=self.default_actions,
                       require_config_file=require_config_file)

        # set instance defaults
        self.addon_sdk = self.config.get('addon_sdk_path', os.path.join(self.workdir, 'addon-sdk'))
        self.addonsdir = os.path.join(self.workdir, 'addons')
        self.test_addons_clone = self.config.get('test_addons_clone_path', os.path.join(self.workdir, 'addons_clone'))
Exemple #3
0
    def __init__(self, require_config_file=False):

        # initialize parent class
        Talos.__init__(self,
                       config={'tests': ['ts']},
                       all_actions=self.actions,
                       default_actions=self.default_actions,
                       require_config_file=require_config_file)

        # set instance defaults
        self.addon_sdk = os.path.join(self.workdir, 'addon-sdk')
        self.addonsdir = os.path.join(self.workdir, 'addons')

        # ensure we have tests
        self.preflight_generate_config()
Exemple #4
0
    def __init__(self, require_config_file=False):

        # initialize parent class
        Talos.__init__(self,
                       config={
                           'tests': ['ts'],
                           'repos': self.default_repos
                       },
                       all_actions=self.actions,
                       default_actions=self.default_actions,
                       require_config_file=require_config_file)

        # set instance defaults
        self.addon_sdk = self.config.get(
            'addon_sdk_path', os.path.join(self.workdir, 'addon-sdk'))
        self.addonsdir = os.path.join(self.workdir, 'addons')
        self.test_addons_clone = self.config.get(
            'test_addons_clone_path', os.path.join(self.workdir,
                                                   'addons_clone'))
Exemple #5
0
 def run_mozharness(self):
     sys.path.insert(0, self.mozharness_dir)
     from mozharness.mozilla.testing.talos import Talos
     talos_mh = Talos(config=self.args['config'],
                      initial_config_file=self.args['initial_config_file'])
     return talos_mh.run()
Exemple #6
0
#!/usr/bin/env python
# ***** BEGIN LICENSE BLOCK *****
# 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/.
# ***** END LICENSE BLOCK *****
"""talos

"""

import os
import sys

# load modules from parent dir
sys.path.insert(1, os.path.dirname(sys.path[0]))

from mozharness.mozilla.testing.talos import Talos

if __name__ == "__main__":
    talos = Talos()
    talos.run_and_exit()
#!/usr/bin/env python
# ***** BEGIN LICENSE BLOCK *****
# 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/.
# ***** END LICENSE BLOCK *****
"""talos

"""

import os
import sys

# load modules from parent dir
sys.path.insert(1, os.path.dirname(sys.path[0]))

from mozharness.mozilla.testing.talos import Talos

if __name__ == '__main__':
    talos = Talos()
    talos.run_and_exit()
Exemple #8
0
#!/usr/bin/env python
# ***** BEGIN LICENSE BLOCK *****
# 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/.
# ***** END LICENSE BLOCK *****
"""talos

"""

import os
import sys

# load modules from parent dir
sys.path.insert(1, os.path.dirname(sys.path[0]))

from mozharness.mozilla.testing.talos import Talos

if __name__ == '__main__':
    talos = Talos()
    talos.run()