diff --git a/src/devices/tests/meson.build b/src/devices/tests/meson.build index 4702c656f..4b4c5c7ee 100644 --- a/src/devices/tests/meson.build +++ b/src/devices/tests/meson.build @@ -9,7 +9,6 @@ foreach test_unit: test_units test_unit + '.c', dependencies: test_nm_dep, ) - test( 'devices/' + test_unit, test_script, diff --git a/src/platform/tests/meson.build b/src/platform/tests/meson.build index 8086a46c9..b3a961628 100644 --- a/src/platform/tests/meson.build +++ b/src/platform/tests/meson.build @@ -13,11 +13,10 @@ test_units = [ foreach test_unit: test_units exe = executable( - 'platform-' + test_unit[0], + test_unit[0], test_unit[1], dependencies: test_unit[2], ) - test( 'platform/' + test_unit[0], test_script, @@ -26,10 +25,8 @@ foreach test_unit: test_units ) endforeach -test = 'monitor' - executable( - test, - test + '.c', + 'monitor', + 'monitor.c', dependencies: test_nm_dep, )