aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMoustaphaSaad <moustapha.saad.abdelhamed@gmail.com>2024-05-31 20:59:12 +0300
committerTheo Buehler <tb@openbsd.org>2024-06-19 14:06:09 +0200
commit56007f827a37601b249a354ee3bb24745ea78a9b (patch)
tree33a95478d886a423c5aa7c5701cc0dc84d4f8586
parentd70a51a32aa8e1dc5934471570aa1970cf76cea7 (diff)
downloadportable-56007f827a37601b249a354ee3bb24745ea78a9b.tar.gz
portable-56007f827a37601b249a354ee3bb24745ea78a9b.tar.bz2
portable-56007f827a37601b249a354ee3bb24745ea78a9b.zip
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.
-rw-r--r--tests/CMakeLists.txt14
1 files 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)
774endif() 774endif()
775 775
776# testrsa 776# testrsa
777if(NOT MSVC) 777# testrsa doesn't have an executable instead it uses openssl executable which access various files for IO.
778 add_test(NAME testrsa COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/testrsa.sh) 778# adding such files to --preload-file is infeasible.
779else() 779if(NOT EMSCRIPTEN)
780 add_test(NAME testrsa COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/testrsa.bat $<TARGET_FILE:openssl>) 780 if(NOT MSVC)
781 add_test(NAME testrsa COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/testrsa.sh)
782 else()
783 add_test(NAME testrsa COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/testrsa.bat $<TARGET_FILE:openssl>)
784 endif()
785 set_tests_properties(testrsa PROPERTIES ENVIRONMENT "srcdir=${TEST_SOURCE_DIR}")
781endif() 786endif()
782set_tests_properties(testrsa PROPERTIES ENVIRONMENT "srcdir=${TEST_SOURCE_DIR}")
783 787
784# timingsafe 788# timingsafe
785add_executable(timingsafe timingsafe.c) 789add_executable(timingsafe timingsafe.c)