diff options
| -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) |
