Commit 3a200802 authored by Sebastian Ramacher's avatar Sebastian Ramacher

Build sandbox test only if seccomp enabled

parent 41e14218
Pipeline #294 passed with stages
in 1 minute and 51 seconds
......@@ -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,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment