summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/meson.build13
1 files changed, 4 insertions, 9 deletions
diff --git a/tests/meson.build b/tests/meson.build
index 66adb92bd..893cca889 100644
--- a/tests/meson.build
+++ b/tests/meson.build
@@ -19,15 +19,6 @@ test_srcs = files(
'flashrom.c',
'spi25.c',
'lifecycle.c',
- 'dummyflasher.c',
- 'nicrealtek.c',
- 'raiden_debug_spi.c',
- 'dediprog.c',
- 'linux_mtd.c',
- 'linux_spi.c',
- 'parade_lspcon.c',
- 'mediatek_i2c_spi.c',
- 'realtek_mst_i2c_spi.c',
'layout.c',
'chip.c',
'chip_wp.c',
@@ -37,6 +28,10 @@ if not programmer.get('dummy').get('active')
test_srcs += programmer.get('dummy').get('srcs')
endif
+foreach p_name, p_data : programmer
+ test_srcs += p_data.get('test_srcs')
+endforeach
+
mocks = [
'-Wl,--wrap=strdup',
'-Wl,--wrap=physunmap',