]> git.ipfire.org Git - thirdparty/json-c.git/commit
tests: CMakeLists.txt: move test names to variable
authorAlexandru Ardelean <ardeleanalex@gmail.com>
Fri, 16 Apr 2021 06:32:07 +0000 (09:32 +0300)
committerAlexandru Ardelean <ardeleanalex@gmail.com>
Fri, 16 Apr 2021 06:32:17 +0000 (09:32 +0300)
commit1f8b64f62c76cb23a8eb041fdde341db604aae75
tree4750fd43bc1c7d941b5e7113b30ce18c20453aa5
parent94909840befacbe30c150dcf868c8c035c4b9b56
tests: CMakeLists.txt: move test names to variable

The intent is to be able to disable some features that get built into the
library. When we do that, we also need to disable some tests.

It's easier when adjusting a variable that contains the list of test names,
versus modifying the list in the foreach() statement.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
tests/CMakeLists.txt