malloc = meson.get_compiler('c').find_library(
malloc_name,
required: get_option('malloc') == 'jemalloc',
- #static: false, #TODO: add when bumping meson to >= 0.51;
- # static linking would most likely cause issues.
- # Fortunately it seems unlikely that dynamic wouldn't be found and static would be.
+ static: false, # static linking would most likely cause issues.
)
summary({'sendmmsg': sendmmsg,
args: [ sbin_dir / 'kresd' ],
suite: [ 'postinstall', 'dnstap' ],
timeout: 120, # it may need to fetch go packages, etc.
- # it takes relatively long time
- kwargs: meson.version().version_compare('<0.52') ? {} : { 'priority': 5 },
+ priority: 5, # it takes relatively long time
)
'unit.' + unit_test[0],
exec_test,
suite: 'unit',
- # they take very short time
- kwargs: meson.version().version_compare('<0.52') ? {} : { 'priority': -5 },
+ priority: -5, # they take very short time
)
endforeach