gecko/testing
Andrew Halberstadt ba271f3c89 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)

--HG--
extra : rebase_source : adead90910811e71e8ea2bb862f2b8e92f2c1bee
2015-02-10 09:38:29 -05:00
..
config Bug 1123443 - Add in-tree test configuration for Android 4.4 emulator unit tests; r=armenzg 2015-01-21 09:26:38 -07:00
crashtest
docker Bug 1130327: Update phone-builder to use builder image 0.2.6. 2015-02-10 17:36:18 -02:00
gtest Bug 1120062 - Part 1: Remove most Nullptr.h includes. r=waldo 2015-01-11 11:34:52 +09:00
instrumentation
marionette Merge inbound to m-c. a=merge 2015-02-10 16:03:15 -05:00
mochitest Bug 1123763 - [manifestparser] Implement filter system for manifest.active_tests(), r=ted 2015-02-10 09:38:29 -05:00
modules Backed out changesets 34a66a625618, 32db3daa20fe, and ac15ba8568c5 (bug 1102219) for Gaia unit test failures. 2014-12-11 11:28:30 -05:00
mozbase Bug 1123763 - [manifestparser] Implement filter system for manifest.active_tests(), r=ted 2015-02-10 09:38:29 -05:00
mozharness
profiles Bug 1123535 - Enable dormant heuristic for MP4Reader. r=kentuckyfriedtakahe 2015-01-29 21:50:48 +13:00
specialpowers Backed out changeset 91c1bd885ad9 (bug 1121577) for Gip failures on a CLOSED TREE 2015-02-10 15:09:52 -08:00
talos Bug 1096800 - Default sans-serif font for zh-CN on windows is mapped to SimSun, which is actually a serif font. r=jmaher 2015-02-10 10:38:00 +01:00
taskcluster Bug 1131450 - Implement chunk specific scheduling for tests r=garndt 2015-02-10 10:53:02 -08:00
tools Bug 1119072, Part 13: #undef NOMINMAX in testing/tools/screenshot/win32-screenshot.cpp so it compiles with MSVC 2015, r=ctalbert 2015-01-08 15:34:08 -08:00
tps
web-platform Bug 1131091 - Disable CSP test causing frequent oranges on a CLOSED TREE 2015-02-09 16:10:48 +00:00
xpcshell bug 1130874 - test for alt-svc -06 h2 extension r=hurley 2015-02-08 09:11:22 -05:00
cppunittest.ini
mach_commands.py Bug 1068676 - Make mach test understand subsuites. r=jmaher 2015-02-06 14:36:59 -06:00
machine-configuration.json
README.txt
remotecppunittests.py
runcppunittests.py
testsuite-targets.mk Bug 1126944: Follow symlinks when removing .pyc from test packages r=ted 2015-02-06 09:31:18 -05:00

Common testing tools for mozilla codebase projects, test suite definitions
for automated test runs, tests that don't fit anywhere else, and other fun
stuff