test: Remove unused sources from tests

This commit is contained in:
Daan De Meyer
2025-05-01 14:39:58 +02:00
parent a0233fcd86
commit 7e674d22d3
2 changed files with 5 additions and 9 deletions

View File

@@ -304,9 +304,8 @@ target2 = custom_target(
command : [awk, '-f', '@INPUT0@', '@INPUT1@'],
capture : true)
shared_generated_gperf_headers = [target1, target2]
generated_sources += shared_generated_gperf_headers
shared_sources += shared_generated_gperf_headers
generated_sources += [target1, target2]
shared_sources += [target1, target2]
fname = 'ethtool-link-mode.h'
ethtool_link_mode_h = custom_target(

View File

@@ -225,8 +225,7 @@ executables += [
generated_gperf_headers,
},
test_template + {
'sources' : files('test-arphrd-util.c') +
generated_gperf_headers,
'sources' : files('test-arphrd-util.c')
},
test_template + {
'sources' : files('test-ask-password-api.c'),
@@ -249,8 +248,7 @@ executables += [
'type' : 'manual',
},
test_template + {
'sources' : files('test-cap-list.c') +
generated_gperf_headers,
'sources' : files('test-cap-list.c'),
'dependencies' : libcap,
},
test_template + {
@@ -313,8 +311,7 @@ executables += [
'timeout' : 180,
},
test_template + {
'sources' : files('test-ip-protocol-list.c') +
shared_generated_gperf_headers,
'sources' : files('test-ip-protocol-list.c'),
},
test_template + {
'sources' : files('test-ipcrm.c'),