Commit Graph

7 Commits

Author SHA1 Message Date
Andrew Halberstadt
a65f07101e Bug 1150050 - Bump manifestparser to v1.1 and marionette-client to v0.9.3 to pick up tagging feature, r=AutomatedTester 2015-04-01 11:22:48 -04:00
Andrew Halberstadt
a74852785a Bug 1123763 - [manifestparser] Implement filter system for manifest.active_tests(), r=ted
A filter is a callable that accepts an iterable of tests and a dictionary of values (e.g mozinfo.info) and returns an iterable of tests. Note filtering can mean modifying tests in addition to removing them. For example, this implements a "timeout-if" tag in the manifest:

    from manifestparser import expression
    import mozinfo

    def timeout_if(tests, values):
        for test in tests:
            if 'timeout-if' in test:
                timeout, condition = test['timeout-if'].split(',', 1)
                if expression.parse(condition, **values):
                    test['timeout'] = timeout
        yield test

    tests = mp.active_tests(filters=[timeout_if], **mozinfo.info)
2015-02-10 09:38:29 -05:00
Andrew Halberstadt
2acbd7c0f3 Bug 1120983 - [manifestparser] Split manifestparser.py into several smaller files, r=wlach
Simple refactor that moves logic out of manifestparser.py and into cli.py, expression.py and ini.py.
2015-01-15 09:37:51 -05:00
Henrik Skupin
8177b06649 Bug 1113284 - Bump manifestparser to 0.9. r=ahal 2014-12-18 21:00:35 +01:00
Jonathan Griffin
b7e090459f Bug 1087711 - Bump manifestparser to 0.8, r=jmaher 2014-10-22 16:04:15 -07:00
Andrei Eftimie
2c35bc3a53 Bug 1056037 - Bump manifestparser version to 0.7. r=hskupin 2014-10-07 10:41:59 +02:00
William Lachance
2e4f245a3b Bug 984528 - Rename manifestdestiny -> manifestparser. r=ahal 2014-06-10 13:20:23 -04:00