Пример #1
0
 def run_update(self, logger, rebuild=False, **kwargs):
     import manifestupdate
     wpt_dir = os.path.abspath(
         os.path.join(self.topsrcdir, 'testing', 'web-platform'))
     config_dir = os.path.abspath(
         os.path.join(self.topobjdir, '_tests', 'web-platform'))
     manifestupdate.update(logger, wpt_dir, rebuild, config_dir)
Пример #2
0
 def run_update(self, check_clean=False, rebuild=False, **kwargs):
     import manifestupdate
     from wptrunner import wptlogging
     logger = wptlogging.setup(kwargs, {"mach": sys.stdout})
     wpt_dir = os.path.abspath(
         os.path.join(self.topsrcdir, 'testing', 'web-platform'))
     manifestupdate.update(logger, wpt_dir, check_clean, rebuild)
Пример #3
0
    def run_update(self, check_clean=False, **kwargs):
        import manifestupdate
        from wptrunner import wptlogging

        logger = wptlogging.setup(kwargs, {"mach": sys.stdout})
        wpt_dir = os.path.abspath(os.path.join(self.topsrcdir, 'testing', 'web-platform'))
        manifestupdate.update(logger, wpt_dir, check_clean)
Пример #4
0
def update_manifest(logger, config_dir, manifest_update=True):
    if manifest_update:
        logger.info("Updating manifests")
        import manifestupdate
        here = os.path.split(os.path.abspath(__file__))[0]
        return manifestupdate.update(logger, here, config_dir=config_dir) is 0
    else:
        logger.info("Skipping manifest update")
        return True
Пример #5
0
def run_update(topdir, check_clean=False, rebuild=False, **kwargs):
    import manifestupdate
    from wptrunner import wptlogging
    logger = wptlogging.setup(kwargs, {"mach": sys.stdout})
    wpt_dir = os.path.abspath(os.path.join(topdir, 'tests', 'wpt'))
    return manifestupdate.update(logger, wpt_dir, check_clean, rebuild)
Пример #6
0
def run_update(topdir, check_clean=False, rebuild=False, **kwargs):
    import manifestupdate
    from wptrunner import wptlogging
    logger = wptlogging.setup(kwargs, {"mach": sys.stdout})
    wpt_dir = os.path.abspath(os.path.join(topdir, 'tests', 'wpt'))
    manifestupdate.update(logger, wpt_dir, check_clean, rebuild)