mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2025-01-14 01:16:00 +01:00
Build sandbox test only if seccomp enabled
This commit is contained in:
parent
41e14218ef
commit
3a20080210
1 changed files with 11 additions and 9 deletions
|
@ -24,15 +24,17 @@ if check.found()
|
|||
test('session', session,
|
||||
timeout: 60*60
|
||||
)
|
||||
|
||||
sandbox = executable('test_sandbox', ['test_sandbox.c', 'tests.c'],
|
||||
dependencies: build_dependencies + test_dependencies,
|
||||
include_directories: include_directories,
|
||||
c_args: defines + flags
|
||||
)
|
||||
test('sandbox', sandbox,
|
||||
timeout: 60*60
|
||||
)
|
||||
|
||||
if seccomp.found()
|
||||
sandbox = executable('test_sandbox', ['test_sandbox.c', 'tests.c'],
|
||||
dependencies: build_dependencies + test_dependencies,
|
||||
include_directories: include_directories,
|
||||
c_args: defines + flags
|
||||
)
|
||||
test('sandbox', sandbox,
|
||||
timeout: 60*60
|
||||
)
|
||||
endif
|
||||
|
||||
utils = executable('test_utils', ['test_utils.c', 'tests.c'],
|
||||
dependencies: build_dependencies + test_dependencies,
|
||||
|
|
Loading…
Reference in a new issue