ninja: use -t query to find test target
This commit is contained in:
parent
2c47a4229f
commit
4ebab3de1e
@ -50,7 +50,7 @@ ninjaCheckPhase() {
|
||||
runHook preCheck
|
||||
|
||||
if [ -z "${checkTarget:-}" ]; then
|
||||
if ninja -n test >/dev/null 2>&1; then
|
||||
if ninja -t query test >/dev/null 2>&1; then
|
||||
checkTarget=test
|
||||
fi
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user