devel/meson: Extend make(test) case to WITH_TESTING

This commit is contained in:
Gleb Popov 2024-03-16 04:19:01 +03:00
parent 1328b38bfb
commit 7d8958ed6f
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@ NO_ARCH= yes
TEST_ENV= ${MAKE_ENV:NCC=*:NCXX=*}
# Hide from regular build to avoid accidental dependency on symlinks
.if make(test)
.if make(test) || ("${WITH_TESTING}" == yes && make(package))
# helper_create_binary_wrapper, test_python_module, test cases/*.py
BINARY_ALIAS+= python3=${PYTHON_CMD:T} python=${PYTHON_CMD:T}
do-test: create-binary-alias # force if run late