Ejemplo n.º 1
0
 def run_mozharness(self):
     sys.path.insert(0, self.mozharness_dir)
     from mozharness.mozilla.testing.raptor import Raptor
     raptor_mh = Raptor(
         config=self.args['config'],
         initial_config_file=self.args['initial_config_file'])
     return raptor_mh.run()
Ejemplo n.º 2
0
#!/usr/bin/env 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/.
"""raptor

"""

import os
import sys

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

from mozharness.mozilla.testing.raptor import Raptor

if __name__ == "__main__":
    raptor = Raptor()
    raptor.run_and_exit()