14 if opt_crypto != 'nolegacy'
15 tests += 'algorithms.test'
16 tests += 'legacy-protocol.test'
19 if os_name != 'windows'
20 tests += 'sptps-basic.test'
24 tests += 'ns-ping.test'
27 exe_splice = executable(
30 dependencies: deps_common,
31 implicit_include_directories: false,
32 include_directories: inc_conf,
33 build_by_default: false,
37 env.set('TINC_PATH', exe_tinc.full_path())
38 env.set('TINCD_PATH', exe_tincd.full_path())
39 env.set('SPTPS_TEST_PATH', exe_sptps_test.full_path())
40 env.set('SPTPS_KEYPAIR_PATH', exe_sptps_keypair.full_path())
41 env.set('SPLICE_PATH', exe_splice.full_path())
42 env.set('TESTLIB_PATH', src_root / 'test' / 'testlib.sh')
52 test_wd = meson.current_build_dir()
54 foreach test_name : tests
55 target = find_program(test_name, native: true)