Commit af41c6d
meson: Honor executable wrappers for regression tests
Meson only sets MESON_EXE_WRAPPER for tests it recognizes as
cross-built. Regression tests invoke their host runner through the
native Python testwrap script, but passing runner.full_path() as a
string hides the cross-built executable from Meson.
Pass the executable target to test(), resolve Meson's build-relative
argument before testwrap changes directories, and invoke the runner
through MESON_EXE_WRAPPER when it is set.1 parent b597835 commit af41c6d
2 files changed
Lines changed: 15 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3985 | 3985 | | |
3986 | 3986 | | |
3987 | 3987 | | |
3988 | | - | |
| 3988 | + | |
3989 | 3989 | | |
3990 | 3990 | | |
3991 | 3991 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
4 | 5 | | |
5 | 6 | | |
6 | 7 | | |
| |||
20 | 21 | | |
21 | 22 | | |
22 | 23 | | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
23 | 27 | | |
24 | 28 | | |
25 | 29 | | |
| |||
61 | 65 | | |
62 | 66 | | |
63 | 67 | | |
64 | | - | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
65 | 78 | | |
66 | 79 | | |
67 | 80 | | |
| |||
0 commit comments