tests: enable parallelization

Signed-off-by: Nikos Mavrogiannopoulos <n.mavrogiannopoulos@gmail.com>
This commit is contained in:
Nikos Mavrogiannopoulos
2026-03-22 21:16:53 +01:00
parent c223f51c91
commit 790f97d1cb
+16 -23
View File
@@ -183,14 +183,12 @@ if oidc_enabled
timeout: 30, timeout: 30,
workdir: test_workdir, workdir: test_workdir,
priority: 1, priority: 1,
is_parallel: false,
) )
test('test-oidc', find_program('test-oidc'), test('test-oidc', find_program('test-oidc'),
env: test_env, env: test_env,
timeout: 180, timeout: 180,
workdir: test_workdir, workdir: test_workdir,
priority: 0, priority: 0,
is_parallel: false,
) )
endif endif
@@ -240,29 +238,26 @@ if get_option('root-tests')
foreach s : root_scripts foreach s : root_scripts
test(s, find_program(s), test(s, find_program(s),
env: test_env, env: test_env,
timeout: 300, timeout: 300,
is_parallel: false, workdir: test_workdir,
workdir: test_workdir,
) )
endforeach endforeach
# PAM accounting test requires PAM support compiled in and pam_wrapper # PAM accounting test requires PAM support compiled in and pam_wrapper
if have_cwrap_pam if have_cwrap_pam
test('test-pass-pam-acct', find_program('test-pass-pam-acct'), test('test-pass-pam-acct', find_program('test-pass-pam-acct'),
env: test_env, env: test_env,
timeout: 300, timeout: 300,
is_parallel: false, workdir: test_workdir,
workdir: test_workdir,
) )
endif endif
if get_option('namespaces').enabled() if get_option('namespaces').enabled()
test('test-namespace-listen', find_program('test-namespace-listen'), test('test-namespace-listen', find_program('test-namespace-listen'),
env: test_env, env: test_env,
timeout: 300, timeout: 300,
is_parallel: false, workdir: test_workdir,
workdir: test_workdir,
) )
endif endif
@@ -270,19 +265,17 @@ if get_option('root-tests')
foreach s : ['radius', 'radius-group', 'radius-multi-group', foreach s : ['radius', 'radius-group', 'radius-multi-group',
'radius-otp', 'radius-config'] 'radius-otp', 'radius-config']
test(s, find_program(s), test(s, find_program(s),
env: test_env, env: test_env,
timeout: 300, timeout: 300,
is_parallel: false, workdir: test_workdir,
workdir: test_workdir, depends: [raddb_chmod_stamp],
depends: [raddb_chmod_stamp],
) )
endforeach endforeach
endif endif
test('test-script-multi-user', find_program('test-script-multi-user'), test('test-script-multi-user', find_program('test-script-multi-user'),
env: test_env, env: test_env,
timeout: 700, timeout: 700,
is_parallel: false, workdir: test_workdir,
workdir: test_workdir,
) )
endif endif