dgibson / dtc

Device Tree Compiler
215 stars 127 forks source link

tests/meson.build: fix python and yaml tests not running #137

Closed blmaier closed 1 month ago

blmaier commented 1 month ago

The run-tests.sh script attempts to detect if Python and Yaml support is enabled in the build. This has caused false-negatives where it fails to find the Python library even though it was compiled into the build.

Avoid this problem altogether and always set the NO_PYTHON and NO_YAML to match if the features are enabled in Meson.

dgibson commented 1 month ago

Good idea, merged.