commit | 0331edb1bc73b57a68135e5d528fe0f23aca1b84 | [log] [tgz] |
---|---|---|
author | Maxim Cournoyer <maxim.cournoyer@gmail.com> | Mon Dec 19 17:32:39 2022 -0500 |
committer | Simon Glass <sjg@chromium.org> | Thu Jan 05 19:21:57 2023 -0700 |
tree | bbe6902436ddffd32909d02e90f0d86b8e44aa46 | |
parent | 9a196fb3fcfb7de34e34e8867d5aee2e8f82923c [diff] |
patman: locate test data files via __file__ and pathlib Previously it would rely on the executing script location, which could break for example when running the tests via 'pytest'. Reviewed-by: Simon Glass <sjg@chromium.org> Signed-off-by: Maxim Cournoyer <maxim.cournoyer@savoirfairelinux.com>