mirror of
https://gitlab.gnome.org/GNOME/libsecret.git
synced 2024-12-22 04:38:55 +00:00
meson: Run tests for libegg
This commit is contained in:
parent
df94aca387
commit
7407a261b7
@ -23,3 +23,30 @@ libegg = static_library('egg',
|
|||||||
dependencies: libegg_deps,
|
dependencies: libegg_deps,
|
||||||
include_directories: [config_h_dir, build_dir],
|
include_directories: [config_h_dir, build_dir],
|
||||||
)
|
)
|
||||||
|
|
||||||
|
# Tests
|
||||||
|
test_names = [
|
||||||
|
'test-hex',
|
||||||
|
'test-secmem',
|
||||||
|
]
|
||||||
|
|
||||||
|
if get_option('gcrypt')
|
||||||
|
test_names += [
|
||||||
|
'test-dh',
|
||||||
|
'test-hkdf',
|
||||||
|
]
|
||||||
|
endif
|
||||||
|
|
||||||
|
foreach _test : test_names
|
||||||
|
|
||||||
|
test_bin = executable(_test,
|
||||||
|
'@0@.c'.format(_test),
|
||||||
|
dependencies: libegg_deps,
|
||||||
|
link_with: libegg,
|
||||||
|
include_directories: config_h_dir,
|
||||||
|
)
|
||||||
|
|
||||||
|
test(_test, test_bin,
|
||||||
|
suite: 'libegg',
|
||||||
|
)
|
||||||
|
endforeach
|
||||||
|
Loading…
Reference in New Issue
Block a user