How to use the mozregression.utils.get_build_regex function in mozregression

To help you get started, we’ve selected a few mozregression examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github mozilla / mozregression / tests / unit / test_utils.py View on Github external
def test_for_linux(self):
        self.assertEqual(utils.get_build_regex('test', 'linux', 32), r'test.*linux-i686\.tar.bz2')
        self.assertEqual(utils.get_build_regex('test', 'linux', 64), r'test.*linux-x86_64\.tar.bz2')
        self.assertEqual(utils.get_build_regex('test', 'linux', 64, with_ext=False), r'test.*linux-x86_64')
github mozilla / mozregression / tests / unit / test_utils.py View on Github external
def test_for_mac(self):
        self.assertEqual(utils.get_build_regex('test', 'mac', 32), r'test.*mac.*\.dmg')
        self.assertEqual(utils.get_build_regex('test', 'mac', 64), r'test.*mac.*\.dmg')
        self.assertEqual(utils.get_build_regex('test', 'mac', 64, with_ext=False), r'test.*mac.*')
github mozilla / mozregression / tests / unit / test_utils.py View on Github external
def test_for_mac(self):
        self.assertEqual(utils.get_build_regex('test', 'mac', 32), r'test.*mac.*\.dmg')
        self.assertEqual(utils.get_build_regex('test', 'mac', 64), r'test.*mac.*\.dmg')
        self.assertEqual(utils.get_build_regex('test', 'mac', 64, with_ext=False), r'test.*mac.*')
github mozilla / mozregression / tests / unit / test_utils.py View on Github external
def test_for_linux(self):
        self.assertEqual(utils.get_build_regex('test', 'linux', 32), r'test.*linux-i686\.tar.bz2')
        self.assertEqual(utils.get_build_regex('test', 'linux', 64), r'test.*linux-x86_64\.tar.bz2')
        self.assertEqual(utils.get_build_regex('test', 'linux', 64, with_ext=False), r'test.*linux-x86_64')
github mozilla / mozregression / tests / unit / test_utils.py View on Github external
def test_for_win(self):
        self.assertEqual(utils.get_build_regex('test', 'win', 32), r'test.*win32\.zip')
        self.assertEqual(utils.get_build_regex('test', 'win', 64), r'test.*win64-x86_64\.zip')
        self.assertEqual(utils.get_build_regex('test', 'win', 64, with_ext=False), r'test.*win64-x86_64')
github mozilla / mozregression / tests / unit / test_utils.py View on Github external
def test_for_win(self):
        self.assertEqual(utils.get_build_regex('test', 'win', 32), r'test.*win32\.zip')
        self.assertEqual(utils.get_build_regex('test', 'win', 64), r'test.*win64-x86_64\.zip')
        self.assertEqual(utils.get_build_regex('test', 'win', 64, with_ext=False), r'test.*win64-x86_64')
github mozilla / mozregression / tests / unit / test_utils.py View on Github external
def test_for_mac(self):
        self.assertEqual(utils.get_build_regex('test', 'mac', 32), r'test.*mac.*\.dmg')
        self.assertEqual(utils.get_build_regex('test', 'mac', 64), r'test.*mac.*\.dmg')
        self.assertEqual(utils.get_build_regex('test', 'mac', 64, with_ext=False), r'test.*mac.*')
github mozilla / mozregression / tests / unit / test_utils.py View on Github external
def test_for_win(self):
        self.assertEqual(utils.get_build_regex('test', 'win', 32), r'test.*win32\.zip')
        self.assertEqual(utils.get_build_regex('test', 'win', 64), r'test.*win64-x86_64\.zip')
        self.assertEqual(utils.get_build_regex('test', 'win', 64, with_ext=False), r'test.*win64-x86_64')
github mozilla / mozregression / mozregression / runnightly.py View on Github external
def __init__(self, inbound_branch=None, bits=mozinfo.bits, persist=None):
        self.inbound_branch = inbound_branch
        self.bits = bits
        self.persist = persist
        os = mozinfo.os
        self.build_regex = get_build_regex(self.name, os, bits) + "$"
        self.build_info_regex = \
            get_build_regex(self.name, os, bits, with_ext=False) + "\.txt$"
        self._logger = get_default_logger('Regression Runner')
github mozilla / mozregression / mozregression / runnightly.py View on Github external
def __init__(self, inbound_branch=None, bits=mozinfo.bits, persist=None):
        self.inbound_branch = inbound_branch
        self.bits = bits
        self.persist = persist
        os = mozinfo.os
        self.build_regex = get_build_regex(self.name, os, bits) + "$"
        self.build_info_regex = \
            get_build_regex(self.name, os, bits, with_ext=False) + "\.txt$"
        self._logger = get_default_logger('Regression Runner')