2018-03-20 21:03:56 +00:00
|
|
|
secret_tool_sources = [
|
|
|
|
'secret-tool.c',
|
|
|
|
]
|
|
|
|
|
|
|
|
secret_tool = executable('secret-tool',
|
|
|
|
secret_tool_sources,
|
|
|
|
dependencies: libsecret_dep,
|
|
|
|
include_directories: config_h_dir,
|
|
|
|
c_args: libsecret_cflags,
|
|
|
|
install: true,
|
|
|
|
)
|
2019-08-19 15:56:17 +00:00
|
|
|
|
2020-06-01 07:05:58 +00:00
|
|
|
if get_option('gcrypt') and host_machine.system() != 'windows'
|
2019-08-19 15:56:17 +00:00
|
|
|
test('test-secret-tool.sh',
|
2020-06-01 06:15:20 +00:00
|
|
|
find_program('test-secret-tool.sh'),
|
|
|
|
env: test_env,
|
|
|
|
suite: 'secret-tool',
|
|
|
|
)
|
2019-08-19 15:56:17 +00:00
|
|
|
endif
|
2021-08-04 12:49:49 +00:00
|
|
|
|
|
|
|
if get_option('tpm2')
|
|
|
|
test('test-secret-tool-tpm2.sh',
|
|
|
|
find_program('test-secret-tool-tpm2.sh'),
|
|
|
|
env: test_env,
|
|
|
|
suite: 'secret-tool',
|
|
|
|
)
|
|
|
|
endif
|