aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMoustaphaSaad <moustapha.saad.abdelhamed@gmail.com>2024-05-31 20:50:20 +0300
committerTheo Buehler <tb@openbsd.org>2024-06-19 14:06:09 +0200
commitbf429449fb7eb34065d0722f45d3c633fe947878 (patch)
tree4194bb05bdf49ea5a911818c18d09c2a588cbf68 /tests
parenteab5ace757bba8f5491e1a6c1381875c4aeebb07 (diff)
downloadportable-bf429449fb7eb34065d0722f45d3c633fe947878.tar.gz
portable-bf429449fb7eb34065d0722f45d3c633fe947878.tar.bz2
portable-bf429449fb7eb34065d0722f45d3c633fe947878.zip
disable testdsa
testdsa 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.txt14
1 files changed, 9 insertions, 5 deletions
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt
index 1005dfd..1ed0396 100644
--- a/tests/CMakeLists.txt
+++ b/tests/CMakeLists.txt
@@ -750,12 +750,16 @@ endif()
750set_tests_properties(ssltest PROPERTIES ENVIRONMENT "srcdir=${TEST_SOURCE_DIR}") 750set_tests_properties(ssltest PROPERTIES ENVIRONMENT "srcdir=${TEST_SOURCE_DIR}")
751 751
752# testdsa 752# testdsa
753if(NOT MSVC) 753# testdsa doesn't have an executable instead it uses openssl executable which access various files for IO.
754 add_test(NAME testdsa COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/testdsa.sh) 754# adding such files to --preload-file is infeasible.
755else() 755if(NOT EMSCRIPTEN)
756 add_test(NAME testdsa COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/testdsa.bat $<TARGET_FILE:openssl>) 756 if(NOT MSVC)
757 add_test(NAME testdsa COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/testdsa.sh)
758 else()
759 add_test(NAME testdsa COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/testdsa.bat $<TARGET_FILE:openssl>)
760 endif()
761 set_tests_properties(testdsa PROPERTIES ENVIRONMENT "srcdir=${TEST_SOURCE_DIR}")
757endif() 762endif()
758set_tests_properties(testdsa PROPERTIES ENVIRONMENT "srcdir=${TEST_SOURCE_DIR}")
759 763
760# testenc 764# testenc
761if(NOT MSVC) 765if(NOT MSVC)