1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
test_units = [ 'test-dhcp-dhclient', 'test-dhcp-utils' ] cflags = '-DTESTDIR="@0@"'.format(meson.current_source_dir()) foreach test_unit: test_units exe = executable( test_unit, test_unit + '.c', dependencies: test_core_dep, c_args: cflags ) test(test_unit, exe) endforeach