diff options
| author | Jan Alexander Steffens (heftig) <heftig@archlinux.org> | 2024-12-09 16:18:50 +0100 |
|---|---|---|
| committer | Jussi Pakkanen <jpakkane@gmail.com> | 2025-01-07 21:44:33 +0200 |
| commit | 29a26ea8175ebc9af66efa40191d9efe906e089b (patch) | |
| tree | 48ee703953db4f324db34daaa41dc615f58a8599 /test cases/common | |
| parent | c66a89fdca79d29d8799b470bed392b0b80f4d00 (diff) | |
| download | meson-29a26ea8175ebc9af66efa40191d9efe906e089b.tar.gz | |
tests: Avoid modifying '17 prebuild shared' test dir
Tests can tread on each other's toes when parallelism is high enough.
In this case, `test_prebuilt_shared_lib` creates an object file in the
`17 prebuilt shared` test dir.
`test_prebuilt_shared_lib_rpath_same_prefix` uses `shutil.copytree` to
copy that same test dir to a temporary location.
If the former test cleans up its object file while `copytree` is
running, the copy can fail with a fatal ENOENT `shutil.Error`.
Use `copy_srcdir` to prevent this from happening.
Diffstat (limited to 'test cases/common')
0 files changed, 0 insertions, 0 deletions
