]> git.ipfire.org Git - thirdparty/zstd.git/commit
meson: correctly specify the dependency relationship for playtests
authorEli Schwartz <eschwartz@archlinux.org>
Fri, 10 Feb 2023 05:28:47 +0000 (00:28 -0500)
committerEli Schwartz <eschwartz@archlinux.org>
Fri, 10 Feb 2023 05:33:07 +0000 (00:33 -0500)
commit183a18a45c1d69f8c42b9fcd25e6d28f9b3d75bb
tree851a4dfaab9dd346629b61b3c06f8f1e291350a8
parent515266e31b2369f82594d47ff4666f0612382bb7
meson: correctly specify the dependency relationship for playtests

It depends on the zstd program being built, and passes it as an env
variable. Just like datagen. But for datagen, we explicitly depend on
it, while for zstd, we assume it's built as part of "all".

This can be wrong in two cases:
- when running individual tests, meson can (re)build just what is needed
  for that one test
- a later patch will handle building zstd but not by default
build/meson/tests/meson.build