summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Harrison <rharrison@chromium.org>2017-08-28 15:55:39 -0400
committerChromium commit bot <commit-bot@chromium.org>2017-08-28 20:37:33 +0000
commit93ed5f640ce24dae3f0bbf8eeb38e3cc83909a60 (patch)
tree147c5d045b50df47535a68918337648bdf83614f
parent03371b8bb8459b96ceefa89d6b5ba2d08683614b (diff)
downloadpdfium-93ed5f640ce24dae3f0bbf8eeb38e3cc83909a60.tar.xz
Update paths for coverage script in documentation
Change-Id: I38ee7e59f4bf9587f43546460c87bb8539121472 Reviewed-on: https://pdfium-review.googlesource.com/12211 Commit-Queue: Ryan Harrison <rharrison@chromium.org> Commit-Queue: dsinclair <dsinclair@chromium.org> Reviewed-by: dsinclair <dsinclair@chromium.org>
-rw-r--r--docs/code-coverage.md15
1 files changed, 8 insertions, 7 deletions
diff --git a/docs/code-coverage.md b/docs/code-coverage.md
index 3162b5886c..200a674bb0 100644
--- a/docs/code-coverage.md
+++ b/docs/code-coverage.md
@@ -74,7 +74,7 @@ echo "use_coverage = true" >> out/Coverage/args.gn
### Usage
Generating code coverage information is done via the
-`tools/coverage/coverage_report.py` script. This script will build any binaries
+`testing/tools/coverage/coverage_report.py` script. This script will build any binaries
that it needs, perform test runs, collect coverage data, and finally generate a
nice HTML coverage report.
@@ -86,7 +86,7 @@ coverage data. This is because the other tests are known to take a long time to
run, so they are not included in the defaults.
```shell
-tools/coverage/coverage_report.py
+testing/tools/coverage/coverage_report.py
```
If the current working directory is not the root of your PDFium checkout, then
@@ -98,9 +98,10 @@ you will need to pass in `--output-directory`.
An example of all these flags being used:
```shell
-coverage_report.py --source-directory ~/pdfium/pdfium \
- --build-directory ~/pdfium/pdfium/out/Debug_with_Coverage \
- --output-directory ~/Documents/PDFium_coverage
+testing/tools/coverage/coverage_report.py \
+ --source-directory ~/pdfium/pdfium \
+ --build-directory ~/pdfium/pdfium/out/Debug_with_Coverage \
+ --output-directory ~/Documents/PDFium_coverage
```
To run different tests then the default set, there are two ways to achieve
@@ -108,7 +109,7 @@ this. If you want to run everything, including tests that are known to take a
long time, then you just need to add the `--slow` flag.
```shell
-tools/coverage/coverage_report.py --slow
+testing/tools/coverage/coverage_report.py --slow
```
If you want more fine grained control, including running just a single test, you
@@ -119,7 +120,7 @@ by running the script with `--help`.
An example running the default tests explicitly:
```shell
-tools/coverage/coverage_report.py pdfium_unittests pdfium_embeddertests
+testing/tools/coverage/coverage_report.py pdfium_unittests pdfium_embeddertests
```
NOTE: