meson: set checkPhase in setup hook
This commit is contained in:
parent
1fcd92ce92
commit
edd5be9eff
1 changed files with 12 additions and 0 deletions
|
@ -25,3 +25,15 @@ if [ -z "$dontUseMesonConfigure" -a -z "$configurePhase" ]; then
|
|||
setOutputFlags=
|
||||
configurePhase=mesonConfigurePhase
|
||||
fi
|
||||
|
||||
mesonCheckPhase() {
|
||||
runHook preCheck
|
||||
|
||||
meson test
|
||||
|
||||
runHook postCheck
|
||||
}
|
||||
|
||||
if [ -z "$dontUseMesonCheck" -a -z "$checkPhase" ]; then
|
||||
checkPhase=mesonCheckPhase
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue