Path: blob/main/crypto/libecc/src/tests/meson.build
34889 views
hostcc = meson.get_compiler('c', native: true)12# ec_self_test tests suite3ec_self_test_src = files(4'ec_self_tests_core.c',5'ec_self_tests.c',6)78# the executable is built with the same architecture9# as the library itself, meaning that in case of cross-compilation10# the test binary have the same architecture.11#12# Yet, it can still be executed on the build machine architecture if13# the cross file used has declared an 'exe_wrapper' entry, such as,14# for e.g. in a arm32 cross-file:15#16# [binaries]17# exe_wrapper = 'qemu-arm-static'1819ec_self_test = executable(20'ec_self_test',21sources: [22ec_self_test_src,23external_deps_src,24],25dependencies: libsign_dep,26include_directories: ecc_inc,27c_args: build_args,28install: false,29)3031test(32'vectors',33ec_self_test,34args: 'vectors',35timeout: 120,36)3738# ec_tuils tests suite is kept native as it is a build machine tooling39ec_utils_src = files(40'ec_utils.c',41)4243ec_utils = executable(44'ec_utils',45sources: [46ec_utils_src,47external_deps_src,48],49dependencies: native_libsign_dep,50include_directories: ecc_inc,51c_args: build_args,52native: true,53install: false,54)555657