Skip to content
Commit db36d010 authored by Matt Turner's avatar Matt Turner Committed by Carlos Garnacho
Browse files

build: Add an option to control building tests

Commit 8569c99d ("Look for a Python installation with the tap
module") correctly added a dependency on the gi Python module for tests.
Commit 51ca0356 ("Make tracker:endpoint test work on macOS")
restructured Python probing by moving it to the top-level meson.build.

These two commits have the side-effect of exposing the fact that the
gi Python module is really only a test dependency, and should not be
required if building without tests.

As such, add a -Dtests=bool option to disable building tests. This
reduces the number of ninja targets from 232 to 188 on my non-test
build.
parent c6e63fd7
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment