10 'security-legacy.test',
11 'security-sptps.test',
15 if opt_crypto != 'nolegacy'
16 tests += 'algorithms.test'
17 tests += 'legacy-protocol.test'
20 if os_name != 'windows'
21 tests += 'sptps-basic.test'
25 tests += 'ns-ping.test'
29 tests += 'scripts.test'
32 exe_splice = executable(
35 dependencies: deps_common,
36 implicit_include_directories: false,
37 include_directories: inc_conf,
38 build_by_default: false,
42 env.set('TINC_PATH', exe_tinc.full_path())
43 env.set('TINCD_PATH', exe_tincd.full_path())
44 env.set('SPTPS_TEST_PATH', exe_sptps_test.full_path())
45 env.set('SPTPS_KEYPAIR_PATH', exe_sptps_keypair.full_path())
46 env.set('SPLICE_PATH', exe_splice.full_path())
47 env.set('TESTLIB_PATH', meson.current_source_dir() / 'testlib.sh')
57 test_wd = meson.current_build_dir()
59 foreach test_name : tests
60 target = find_program(test_name, native: true)