mirror of
https://review.coreboot.org/flashrom.git
synced 2025-04-27 23:22:37 +02:00
tests/meson.build: Turn file list into list of file objects
When a file object is created, Meson also checks if the file actually exists and an error points to the specific line of meson.build if not. If just a list of filenames is used, then the error occurs at the line where the list is used. Thus, use file objects in tests/meson.build for more useful error messages. Signed-off-by: Felix Singer <felixsinger@posteo.net> Change-Id: I0b9144a6b76c1772833817b4e6873818dcf36b05 Reviewed-on: https://review.coreboot.org/c/flashrom/+/68197 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Anastasia Klimchuk <aklm@chromium.org> Reviewed-by: Thomas Heijligen <src@posteo.de>
This commit is contained in:
parent
22e9313d90
commit
955c01f5c4
@ -11,7 +11,7 @@
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
|
||||
srcs = [
|
||||
srcs = files(
|
||||
'io_mock.c',
|
||||
'tests.c',
|
||||
'libusb_wraps.c',
|
||||
@ -31,7 +31,7 @@ srcs = [
|
||||
'layout.c',
|
||||
'chip.c',
|
||||
'chip_wp.c',
|
||||
]
|
||||
)
|
||||
|
||||
if not programmer.get('dummy').get('active')
|
||||
srcs += programmer.get('dummy').get('srcs')
|
||||
|
Loading…
x
Reference in New Issue
Block a user