summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Pennisi <mike@mikepennisi.com>2017-12-02 23:09:24 -0500
committerMike Pennisi <mike@mikepennisi.com>2017-12-02 23:09:24 -0500
commit4ff280f1fb51d338a87f70468da74184139e66d6 (patch)
treecf769450e6376e7eb671e2743f44c0b43a2aa7f9
parent670a525fd6ffa5ad851263eb45cc7995367aee3c (diff)
downloadqtdeclarative-testsuites-4ff280f1fb51d338a87f70468da74184139e66d6.tar.gz
Document steps for satisfying tool dependencies
-rw-r--r--CONTRIBUTING.md12
1 files changed, 9 insertions, 3 deletions
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index 9d9d02983..54cbc5769 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -278,7 +278,11 @@ As above, exceptions that are thrown from a `then` clause are passed to a later
## Linting
-Some of the expectations documented here are enforced via a "linting" script. This script is used to validate patches automatically at submission time, but it may also be invoked locally via the following command:
+Some of the expectations documented here are enforced via a "linting" script. This script is used to validate patches automatically at submission time, but it may also be invoked locally. To do so, first install the required Python packages via the following command:
+
+ pip install --requirement tools/lint/requirements.txt
+
+Then invoke the following command:
python tools/lint/lint.py --whitelist lint.whitelist [paths to tests]
@@ -313,9 +317,11 @@ Field | Description
`features` | see the frontmatter definition of the "features" field. The generated test will have a final feature list in combination with the test case's feature field.
any other valid frontmatter field | see the frontmatter definitions.
-Generated files are managed using the `make.py` Python script located in the root of this repository.
+Generated files are managed using the `make.py` Python script located in the root of this repository. To use it, first install the required Python packages via the following command:
+
+ pip install --requirement tools/generation/requirements.txt
-To create files:
+And then issue the following command to create files:
make.py