13 if opt_crypto != 'nolegacy'
14 tests += 'algorithms.test'
15 tests += 'legacy-protocol.test'
18 if os_name != 'windows'
19 tests += 'sptps-basic.test'
23 tests += 'ns-ping.test'
27 tests += 'scripts.test'
30 exe_splice = executable(
33 dependencies: deps_common,
34 implicit_include_directories: false,
35 include_directories: inc_conf,
36 build_by_default: false,
40 env.set('TINC_PATH', exe_tinc.full_path())
41 env.set('TINCD_PATH', exe_tincd.full_path())
42 env.set('SPTPS_TEST_PATH', exe_sptps_test.full_path())
43 env.set('SPTPS_KEYPAIR_PATH', exe_sptps_keypair.full_path())
44 env.set('SPLICE_PATH', exe_splice.full_path())
45 env.set('TESTLIB_PATH', meson.current_source_dir() / 'testlib.sh')
55 test_wd = meson.current_build_dir()
57 foreach test_name : tests
58 target = find_program(test_name, native: true)