meson: make the second and third elements of tests or fuzzers optional

Then, we can shorten many test definitions.
This commit is contained in:
Yu Watanabe
2021-01-19 07:04:19 +09:00
parent 9aeec01e77
commit 5acb3cabd1
15 changed files with 225 additions and 560 deletions
+2 -2
View File
@@ -73,7 +73,7 @@ tests += [
[['src/import/test-qcow2.c',
'src/import/qcow2-util.c',
'src/import/qcow2-util.h'],
[libshared],
[],
[libz],
'HAVE_ZLIB', 'manual'],
[], 'HAVE_ZLIB', 'manual'],
]