From 56007f827a37601b249a354ee3bb24745ea78a9b Mon Sep 17 00:00:00 2001 From: MoustaphaSaad Date: Fri, 31 May 2024 20:59:12 +0300 Subject: disable testrsa testrsa doesn't have an executable instead it uses openssl executable which access various files for IO. adding such files to --preload-file is infeasible. --- tests/CMakeLists.txt | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index c560aab..e0e7404 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -774,12 +774,16 @@ if(NOT EMSCRIPTEN) endif() # testrsa -if(NOT MSVC) - add_test(NAME testrsa COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/testrsa.sh) -else() - add_test(NAME testrsa COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/testrsa.bat $) +# testrsa doesn't have an executable instead it uses openssl executable which access various files for IO. +# adding such files to --preload-file is infeasible. +if(NOT EMSCRIPTEN) + if(NOT MSVC) + add_test(NAME testrsa COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/testrsa.sh) + else() + add_test(NAME testrsa COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/testrsa.bat $) + endif() + set_tests_properties(testrsa PROPERTIES ENVIRONMENT "srcdir=${TEST_SOURCE_DIR}") endif() -set_tests_properties(testrsa PROPERTIES ENVIRONMENT "srcdir=${TEST_SOURCE_DIR}") # timingsafe add_executable(timingsafe timingsafe.c) -- cgit v1.2.3-55-g6feb