mirror of
https://git.proxmox.com/git/fwupd
synced 2025-06-12 10:35:22 +00:00

This allows us to override the location we load data files from, which allows us to do more kinds of installed tests in the future. Also, move the global data/tests content into the place that it is used as it was getting impossible to manage.
15 lines
356 B
Meson
15 lines
356 B
Meson
if get_option('tests')
|
|
tar = find_program('gtar', 'tar')
|
|
builder_test_firmware = custom_target('builder-test-firmware',
|
|
input : [
|
|
'source.bin',
|
|
'startup.sh',
|
|
],
|
|
output : 'firmware.tar',
|
|
command : [
|
|
tar, '--xform', 's,.*/,,',
|
|
'--absolute-names', '--create', '--file', '@OUTPUT@', '@INPUT@',
|
|
],
|
|
)
|
|
endif
|