Felix Singer has uploaded this change for review.
tests/meson.build: Rename list of source files to `test_srcs`
Rename the list of source files to `test_srcs` so that there is less
confusion with the variable `srcs` from the top-level meson.build file
containing the flashrom source files.
Signed-off-by: Felix Singer <felixsinger@posteo.net>
Change-Id: Ica0fc3923070bff63323204bd58edb5276dc9493
---
M tests/meson.build
1 file changed, 18 insertions(+), 4 deletions(-)
git pull ssh://review.coreboot.org:29418/flashrom refs/changes/28/68228/1
diff --git a/tests/meson.build b/tests/meson.build
index 6229a59..6ce0f31 100644
--- a/tests/meson.build
+++ b/tests/meson.build
@@ -11,7 +11,7 @@
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
-srcs = files(
+test_srcs = files(
'io_mock.c',
'tests.c',
'libusb_wraps.c',
@@ -25,14 +25,14 @@
)
if not programmer.get('dummy').get('active')
- srcs += programmer.get('dummy').get('srcs')
+ test_srcs += programmer.get('dummy').get('srcs')
endif
foreach p_name, p_data : programmer
p_data += {
'testsrc' : p_data.get('testsrc', []),
}
- srcs += p_data.get('testsrc')
+ test_srcs += p_data.get('testsrc')
endforeach
mocks = [
@@ -108,7 +108,7 @@
]
flashrom_tests = executable('flashrom_unit_tests',
- srcs,
+ test_srcs,
c_args : [
cargs,
'-ffunction-sections',
To view, visit change 68228. To unsubscribe, or for help writing mail filters, visit settings.