diff options
Diffstat (limited to 'tests/meson.build')
| -rw-r--r-- | tests/meson.build | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/tests/meson.build b/tests/meson.build index 177e400..75ff00d 100644 --- a/tests/meson.build +++ b/tests/meson.build @@ -45,11 +45,21 @@ if system == 'linux' export_args += ['--allow-export=__start_asan_globals', '--allow-export=__stop_asan_globals'] endif + exported_headers = files( + '../include/yasl/yasl.h', + '../include/yasl/timing.h', + '../include/yasl/loop.h', + '../include/yasl/native.h', + ) + if has_wayland + exported_headers += files('../include/yasl/native/wayland.h') + endif + if has_x11 + exported_headers += files('../include/yasl/native/x11.h') + endif test('public-exports', python, args: [files('helpers/check_exports.py')] + export_args + - [nm, yasl_lib.get_shared_lib(), - files('../include/yasl/yasl.h', '../include/yasl/timing.h', - '../include/yasl/loop.h', '../include/yasl/native.h')], + [nm, yasl_lib.get_shared_lib(), exported_headers], ) endif |
