diff options
Diffstat (limited to 'scripts/patchtest.README')
| -rw-r--r-- | scripts/patchtest.README | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/scripts/patchtest.README b/scripts/patchtest.README index 689d513df5..ad46b02ad6 100644 --- a/scripts/patchtest.README +++ b/scripts/patchtest.README | |||
| @@ -79,15 +79,19 @@ To run patchtest on the host, do the following: | |||
| 79 | or patchtest-get-series | 79 | or patchtest-get-series |
| 80 | 3. Run patchtest on a patch file by doing the following: | 80 | 3. Run patchtest on a patch file by doing the following: |
| 81 | 81 | ||
| 82 | patchtest --patch /path/to/patch/file /path/to/target/repo /path/to/tests/directory | 82 | patchtest --patch /path/to/patch/file |
| 83 | 83 | ||
| 84 | or, if you have stored the patch files in a directory, do: | 84 | or, if you have stored the patch files in a directory, do: |
| 85 | 85 | ||
| 86 | patchtest --directory /path/to/patch/directory /path/to/target/repo /path/to/tests/directory | 86 | patchtest --directory /path/to/patch/directory |
| 87 | 87 | ||
| 88 | For example, to test `master-gcc-Fix--fstack-protector-issue-on-aarch64.patch` against the oe-core test suite: | 88 | For example, to test `master-gcc-Fix--fstack-protector-issue-on-aarch64.patch` against the oe-core test suite: |
| 89 | 89 | ||
| 90 | patchtest --patch master-gcc-Fix--fstack-protector-issue-on-aarch64.patch /path/to/openembedded-core /path/to/openembedded-core/meta/lib/patchtest/tests | 90 | patchtest --patch master-gcc-Fix--fstack-protector-issue-on-aarch64.patch |
| 91 | |||
| 92 | If you want to use a different test suite or target repository, you can use the --testdir and --repodir flags: | ||
| 93 | |||
| 94 | patchtest --patch /path/to/patch/file --repodir /path/to/repo --testdir /path/to/test/dir | ||
| 91 | 95 | ||
| 92 | ### Guest Mode | 96 | ### Guest Mode |
| 93 | 97 | ||
