build: meson: add prefix to test names

There are multiple tests with the same in different directories; add a
unique prefix to test names so that it is clear from the output which
one is running.
This commit is contained in:
Beniamino Galvani 2018-04-11 14:47:07 +02:00
parent 0c39a02ce0
commit 0136915211
19 changed files with 20 additions and 20 deletions

View file

@ -17,7 +17,7 @@ exe = executable(
)
test(
test_unit,
'clients/' + test_unit,
test_script,
args: test_args + [exe.full_path()]
)

View file

@ -21,7 +21,7 @@ exe = executable(
)
test(
test_unit,
'dispatcher/' + test_unit,
test_script,
args: test_args + [exe.full_path()]
)

View file

@ -44,7 +44,7 @@ foreach test_unit: test_units
link_with: libnm_core
)
test(
test_unit,
'libnm-core/' + test_unit,
test_script,
args: test_args + [exe.full_path()]
)

View file

@ -23,7 +23,7 @@ foreach test_unit: test_units
)
test(
test_unit,
'libnm-glib/' + test_unit,
test_script,
args: test_args + [exe.full_path()]
)

View file

@ -40,7 +40,7 @@ foreach test_unit: test_units
)
test(
'libnm-util-' + test_unit[0],
'libnm-util/' + test_unit[0],
test_script,
args: test_args + [exe.full_path()]
)

View file

@ -26,7 +26,7 @@ foreach test_unit: test_units
)
test(
'libnm-' + test_unit[0],
'libnm/' + test_unit[0],
test_script,
args: test_args + [exe.full_path()]
)

View file

@ -11,7 +11,7 @@ foreach test_unit: test_units
)
test(
test_unit,
'devices/' + test_unit,
test_script,
args: test_args + [exe.full_path()]
)

View file

@ -7,7 +7,7 @@ exe = executable(
)
test(
test_unit,
'devices/wifi/' + test_unit,
test_script,
args: test_args + [exe.full_path()]
)

View file

@ -12,7 +12,7 @@ foreach test_unit: test_units
)
test(
test_unit,
'dhcp/' + test_unit,
test_script,
args: test_args + [exe.full_path()]
)

View file

@ -8,7 +8,7 @@ exe = executable(
)
test(
test_unit,
'dnsmasq/' + test_unit,
test_script,
args: test_args + [exe.full_path()]
)

View file

@ -8,7 +8,7 @@ exe = executable(
)
test(
test_unit,
'ndisc/' + test_unit,
test_script,
args: test_args + [exe.full_path()]
)

View file

@ -20,7 +20,7 @@ foreach test_unit: test_units
)
test(
'platform-' + test_unit[0],
'platform/' + test_unit[0],
test_script,
timeout: test_unit.length() > 2 ? test_unit[2] : 30,
args: test_args + [exe.full_path()]

View file

@ -16,7 +16,7 @@ exe = executable(
)
test(
test_unit,
'ibft/' + test_unit,
test_script,
args: test_args + [exe.full_path()]
)

View file

@ -16,7 +16,7 @@ exe = executable(
)
test(
test_unit,
'ifcfg-rh/' + test_unit,
test_script,
args: test_args + [exe.full_path()]
)

View file

@ -11,7 +11,7 @@ exe = executable(
)
test(
test_unit,
'ifupdown/' + test_unit,
test_script,
args: test_args + [exe.full_path()]
)

View file

@ -15,7 +15,7 @@ exe = executable(
)
test(
test_unit,
'keyfile/' + test_unit,
test_script,
args: test_args + [exe.full_path()]
)

View file

@ -8,7 +8,7 @@ exe = executable(
)
test(
test_unit,
'supplicant/' + test_unit,
test_script,
args: test_args + [exe.full_path()]
)

View file

@ -20,7 +20,7 @@ exe = executable(
)
test(
test_unit,
'config/' + test_unit,
test_script,
args: test_args + [exe.full_path()]
)

View file

@ -18,7 +18,7 @@ foreach test_unit: test_units
)
test(
test_unit,
'src/' + test_unit,
test_script,
args: test_args + [exe.full_path()]
)
@ -41,7 +41,7 @@ exe = executable(
)
test(
test_unit,
'src/' + test_unit,
test_script,
args: test_args + [exe.full_path()]
)