raptor_script.py (468B)
1 #!/usr/bin/env python 2 3 # This Source Code Form is subject to the terms of the Mozilla Public 4 # License, v. 2.0. If a copy of the MPL was not distributed with this 5 # file, You can obtain one at http://mozilla.org/MPL/2.0/. 6 """raptor""" 7 8 import os 9 import sys 10 11 # load modules from parent dir 12 sys.path.insert(1, os.path.dirname(sys.path[0])) 13 14 from mozharness.mozilla.testing.raptor import Raptor 15 16 if __name__ == "__main__": 17 raptor = Raptor() 18 raptor.run_and_exit()