gecko-dev/testing
Andrew Halberstadt 2255a9eed7 Bug 1395126 - Support cascading configuration for flake8, r=bc
This allows .flake8 files to override one another, and fixes a pretty bad known
bug with our flake8 implementation. For example, say we have a .flake8 file at:
/foo/.flake8

Before this patch, if we ran |mach lint foo/bar|, the configuration defined in
that .flake8 file wouldn't get picked up. It would only work if running the
specific directory that contains it, e.g |mach lint foo|.

This change additionally allows multiple .flake8 files to be used. So if
there's one defined at both:
/.flake8
/foo/.flake8

Then running |mach lint foo/bar| will first apply the root .flake8, then the
one under /foo (overriding earlier configuration).

This bug still doesn't make flake8 configuration perfect though. Any directory
containing a .flake8 file still needs to be explicitly listed in the "include"
section of /tools/lint/flake8.yml. Otherwise in the example above, if running
|mach lint /|, it wouldn't be able to find /foo/.flake8. This is a hard problem
and is likely best solved by fixing flake8's upstream configuration handling.

Unfortunately this means we still can't switch from a whitelist to a blacklist.

MozReview-Commit-ID: 3DZAi1QHYYo

--HG--
extra : rebase_source : 51298c5847f6c2792581d9b312c87b70fa716ee1
2017-08-29 17:32:31 -04:00
..
awsy Bug 1393234 - Add --disable-stylo for AWSY. r=jmaher 2017-08-24 17:48:58 -05:00
config Backed out 3 changesets (bug 1358670) for flake8 failures a=backout 2017-07-20 11:20:00 -07:00
crashtest
firefox-ui Bug 1395126 - Support cascading configuration for flake8, r=bc 2017-08-29 17:32:31 -04:00
geckodriver Bug 1388249 - Add crashreporter environment variables to geckodriver. r=jgraham 2017-08-23 13:33:12 +02:00
gtest Bug 1392329 - Add a command-line front-end script for gtest microbenchmarks. r=froydnj 2017-08-21 18:34:54 +02:00
instrumentation
marionette Bug 1395126 - Support cascading configuration for flake8, r=bc 2017-08-29 17:32:31 -04:00
mochitest Merge m-c to inbound, a=merge 2017-08-29 16:17:13 -07:00
modules Bug 1394556: Part 1 - Fix strict mode errors in JSM scripts. r=Mossop 2017-08-30 01:50:27 -07:00
mozbase Merge inbound to central, a=merge 2017-08-18 15:53:07 -07:00
mozharness bug 1393639 - adjust relpro beetmover for linux repackage. r=nthomas 2017-08-24 17:58:52 -07:00
profiles Bug 1392910 - remove unnecessary preference setting for CSS text-justify property in testing profile. r=xidorn 2017-08-23 13:30:02 +08:00
runtimes Bug 1393900 - Update mochitest runtimes files to balance the chunks, r=jmaher 2017-08-25 15:05:18 -04:00
specialpowers Bug 1394556: Part 1 - Fix strict mode errors in JSM scripts. r=Mossop 2017-08-30 01:50:27 -07:00
talos merge mozilla-inbound to mozilla-central. r=merge a=merge 2017-08-29 20:30:41 +02:00
tools Bug 1391420: Set NO_PGO on a bunch of binaries that we don't ship. r=ted 2017-08-23 15:05:40 -04:00
tps Bug 1378422 - Add python 2 only classifiers to python modules under /testing, r=ahal 2017-08-19 04:19:06 +05:30
web-platform Bug 1395141 - RequestInit dictionary must have AbortSignal as optional, r=bkelly 2017-08-30 18:47:23 +02:00
xpcshell Bug 1390599 - 3. Add --verify and --verify-max-time options to xpcshell test harness; r=jmaher 2017-08-16 06:55:55 -06:00
README.txt
cppunittest.ini Bug 1371970 - Add TestPrintf to cppunittest.ini to make it execute on automation. r=glandium 2017-07-11 23:46:12 +02:00
mach_commands.py Bug 1384665 - Use virtualenv Python in `mach check-spidermonkey`; r=jimb 2017-07-26 18:02:51 -07:00
moz.build Bug 1372051 - Remove external media tests from /testing, /build, /python. r=maja_zf 2017-06-12 10:27:42 +12:00
remotecppunittests.py
runcppunittests.py
testsuite-targets.mk Bug 1335429 - Ensure hyphenation dictionaries are included in the reftest artifact for packaged tests. r=gbrown 2017-07-19 10:10:31 +01:00

README.txt

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