trivial: Fix potential compile failures for high -j values

This commit is contained in:
Richard Hughes 2019-02-01 16:47:03 +00:00
parent 53ce25d985
commit 96e6783982
12 changed files with 14 additions and 0 deletions

View File

@ -36,6 +36,7 @@ if get_option('tests')
cargs += '-DTESTDATADIR="' + testdatadir + '"' cargs += '-DTESTDATADIR="' + testdatadir + '"'
e = executable( e = executable(
'ata-self-test', 'ata-self-test',
fu_hash,
sources : [ sources : [
'fu-self-test.c', 'fu-self-test.c',
'fu-ata-device.c', 'fu-ata-device.c',

View File

@ -37,6 +37,7 @@ if get_option('tests')
cargs += '-DPLUGINBUILDDIR="' + meson.current_build_dir() + '"' cargs += '-DPLUGINBUILDDIR="' + meson.current_build_dir() + '"'
e = executable( e = executable(
'dell-self-test', 'dell-self-test',
fu_hash,
sources : [ sources : [
'fu-self-test.c', 'fu-self-test.c',
'fu-dell-smi.c', 'fu-dell-smi.c',

View File

@ -6,6 +6,7 @@ install_data(['dfu.quirk'],
dfu = static_library( dfu = static_library(
'dfu', 'dfu',
fu_hash,
sources : [ sources : [
'dfu-cipher-xtea.c', 'dfu-cipher-xtea.c',
'dfu-common.c', 'dfu-common.c',
@ -117,6 +118,7 @@ if get_option('tests')
cargs += '-DTESTDATADIR="' + testdatadir + '"' cargs += '-DTESTDATADIR="' + testdatadir + '"'
e = executable( e = executable(
'dfu-self-test', 'dfu-self-test',
fu_hash,
sources : [ sources : [
'dfu-self-test.c' 'dfu-self-test.c'
], ],

View File

@ -30,6 +30,7 @@ shared_module('fu_plugin_nitrokey',
if get_option('tests') if get_option('tests')
e = executable( e = executable(
'nitrokey-self-test', 'nitrokey-self-test',
fu_hash,
sources : [ sources : [
'fu-nitrokey-common.c', 'fu-nitrokey-common.c',
'fu-self-test.c', 'fu-self-test.c',

View File

@ -38,6 +38,7 @@ if get_option('tests')
cargs += '-DTESTDATADIR="' + testdatadir + '"' cargs += '-DTESTDATADIR="' + testdatadir + '"'
e = executable( e = executable(
'nvme-self-test', 'nvme-self-test',
fu_hash,
sources : [ sources : [
'fu-self-test.c', 'fu-self-test.c',
'fu-nvme-common.c', 'fu-nvme-common.c',

View File

@ -32,6 +32,7 @@ install_data(['redfish.conf'],
if get_option('tests') if get_option('tests')
e = executable( e = executable(
'redfish-self-test', 'redfish-self-test',
fu_hash,
sources : [ sources : [
'fu-self-test.c', 'fu-self-test.c',
'fu-redfish-client.c', 'fu-redfish-client.c',

View File

@ -35,6 +35,7 @@ if get_option('tests')
cargs += '-DSOURCEDIR="' + meson.current_source_dir() + '"' cargs += '-DSOURCEDIR="' + meson.current_source_dir() + '"'
e = executable( e = executable(
'synapticsmst-self-test', 'synapticsmst-self-test',
fu_hash,
sources : [ sources : [
'fu-self-test.c', 'fu-self-test.c',
'synapticsmst-common.c', 'synapticsmst-common.c',

View File

@ -26,6 +26,7 @@ testdatadir_src = join_paths(meson.source_root(), 'data', 'tests')
testdatadir_dst = join_paths(meson.build_root(), 'data', 'tests') testdatadir_dst = join_paths(meson.build_root(), 'data', 'tests')
cargs += '-DTESTDATADIR="' + testdatadir_src + ':' + testdatadir_dst + '"' cargs += '-DTESTDATADIR="' + testdatadir_src + ':' + testdatadir_dst + '"'
executable('tbtfwucli', executable('tbtfwucli',
fu_hash,
sources : [ sources : [
'fu-thunderbolt-tool.c', 'fu-thunderbolt-tool.c',
], ],
@ -50,6 +51,7 @@ if get_option('tests') and umockdev.found() and gio.version().version_compare('>
cargs += '-DPLUGINBUILDDIR="' + meson.current_build_dir() + '"' cargs += '-DPLUGINBUILDDIR="' + meson.current_build_dir() + '"'
e = executable( e = executable(
'thunderbolt-self-test', 'thunderbolt-self-test',
fu_hash,
sources : [ sources : [
'fu-self-test.c', 'fu-self-test.c',
'fu-plugin-thunderbolt.c', 'fu-plugin-thunderbolt.c',

View File

@ -50,6 +50,7 @@ if get_option('tests')
cargs += '-DTESTDATADIR="' + testdatadir + '"' cargs += '-DTESTDATADIR="' + testdatadir + '"'
e = executable( e = executable(
'udev-self-test', 'udev-self-test',
fu_hash,
sources : [ sources : [
'fu-self-test.c', 'fu-self-test.c',
'fu-rom.c', 'fu-rom.c',

View File

@ -83,6 +83,7 @@ if get_option('tests')
cargs += '-DTESTDATADIR="' + testdatadir + '"' cargs += '-DTESTDATADIR="' + testdatadir + '"'
e = executable( e = executable(
'uefi-self-test', 'uefi-self-test',
fu_hash,
sources : [ sources : [
'fu-self-test.c', 'fu-self-test.c',
'fu-uefi-bgrt.c', 'fu-uefi-bgrt.c',

View File

@ -39,6 +39,7 @@ shared_module('fu_plugin_unifying',
if get_option('tests') if get_option('tests')
e = executable( e = executable(
'unifying-self-test', 'unifying-self-test',
fu_hash,
sources : [ sources : [
'fu-unifying-self-test.c', 'fu-unifying-self-test.c',
'fu-unifying-common.c', 'fu-unifying-common.c',

View File

@ -38,6 +38,7 @@ if get_option('tests')
cargs += '-DTESTDATADIR="' + testdatadir + '"' cargs += '-DTESTDATADIR="' + testdatadir + '"'
e = executable( e = executable(
'wacom-usb-self-test', 'wacom-usb-self-test',
fu_hash,
sources : [ sources : [
'fu-self-test.c', 'fu-self-test.c',
'fu-wac-common.c', 'fu-wac-common.c',