mirror of
https://review.coreboot.org/flashrom.git
synced 2025-04-27 23:22:37 +02:00
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 Reviewed-on: https://review.coreboot.org/c/flashrom/+/68228 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
This commit is contained in:
parent
594d3357b6
commit
a048df8398
@ -11,7 +11,7 @@
|
|||||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
# GNU General Public License for more details.
|
# GNU General Public License for more details.
|
||||||
|
|
||||||
srcs = files(
|
test_srcs = files(
|
||||||
'io_mock.c',
|
'io_mock.c',
|
||||||
'tests.c',
|
'tests.c',
|
||||||
'libusb_wraps.c',
|
'libusb_wraps.c',
|
||||||
@ -34,7 +34,7 @@ srcs = files(
|
|||||||
)
|
)
|
||||||
|
|
||||||
if not programmer.get('dummy').get('active')
|
if not programmer.get('dummy').get('active')
|
||||||
srcs += programmer.get('dummy').get('srcs')
|
test_srcs += programmer.get('dummy').get('srcs')
|
||||||
endif
|
endif
|
||||||
|
|
||||||
mocks = [
|
mocks = [
|
||||||
@ -110,7 +110,7 @@ mocks = [
|
|||||||
]
|
]
|
||||||
|
|
||||||
flashrom_tests = executable('flashrom_unit_tests',
|
flashrom_tests = executable('flashrom_unit_tests',
|
||||||
srcs,
|
test_srcs,
|
||||||
c_args : [
|
c_args : [
|
||||||
cargs,
|
cargs,
|
||||||
'-ffunction-sections',
|
'-ffunction-sections',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user