diff options
author | Trevor Gamblin <tgamblin@baylibre.com> | 2023-10-16 15:44:58 -0400 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-10-17 11:41:34 +0100 |
commit | 26e3d58e71e5a88ac2c2d34845f45c77635cd2d4 (patch) | |
tree | a5e2359080ee9efa58bfd2ebb2fc88751ce03232 /LICENSE | |
parent | 6e53a778f10c77eab3c0172a0cbc4d63efc663e9 (diff) | |
download | poky-26e3d58e71e5a88ac2c2d34845f45c77635cd2d4.tar.gz |
patchtest: set default repo and testdir targets
Since patchtest is in oe-core, the Python os module's methods can be
used to retrieve the repository path and tests directory by default.
This reduces the number of mandatory arguments for invocation of
patchtest unless the user wants to use a custom test suite or test
patches against a different repo. The REPO and TESTDIR arguments are
likewise adjusted so that they are optional. Also, make it more obvious
what the --startdir flag is meant for on the command line by renaming it
to --testdir, and update the scripts/patchtest.README file to be
consistent with the new usage.
(From OE-Core rev: bae7421ece4806f5148f164293810b9fe75e0756)
Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'LICENSE')
0 files changed, 0 insertions, 0 deletions