diff options
author | MoustaphaSaad <moustapha.saad.abdelhamed@gmail.com> | 2024-05-31 20:59:12 +0300 |
---|---|---|
committer | Theo Buehler <tb@openbsd.org> | 2024-06-19 14:06:09 +0200 |
commit | 56007f827a37601b249a354ee3bb24745ea78a9b (patch) | |
tree | 33a95478d886a423c5aa7c5701cc0dc84d4f8586 /tests | |
parent | d70a51a32aa8e1dc5934471570aa1970cf76cea7 (diff) | |
download | portable-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.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/CMakeLists.txt | 14 |
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) | |||
774 | endif() | 774 | endif() |
775 | 775 | ||
776 | # testrsa | 776 | # testrsa |
777 | if(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. |
779 | else() | 779 | if(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}") | ||
781 | endif() | 786 | endif() |
782 | set_tests_properties(testrsa PROPERTIES ENVIRONMENT "srcdir=${TEST_SOURCE_DIR}") | ||
783 | 787 | ||
784 | # timingsafe | 788 | # timingsafe |
785 | add_executable(timingsafe timingsafe.c) | 789 | add_executable(timingsafe timingsafe.c) |