aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMoustaphaSaad <moustapha.saad.abdelhamed@gmail.com>2024-05-31 20:53:48 +0300
committerTheo Buehler <tb@openbsd.org>2024-06-19 14:06:09 +0200
commitd70a51a32aa8e1dc5934471570aa1970cf76cea7 (patch)
tree49a00cfaa869d3f894ea52f436b092d0591f0940 /tests
parentbf429449fb7eb34065d0722f45d3c633fe947878 (diff)
downloadportable-d70a51a32aa8e1dc5934471570aa1970cf76cea7.tar.gz
portable-d70a51a32aa8e1dc5934471570aa1970cf76cea7.tar.bz2
portable-d70a51a32aa8e1dc5934471570aa1970cf76cea7.zip
disable testenc
testenc 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 1ed0396..c560aab 100644
--- a/tests/CMakeLists.txt
+++ b/tests/CMakeLists.txt
@@ -762,12 +762,16 @@ if(NOT EMSCRIPTEN)
762endif() 762endif()
763 763
764# testenc 764# testenc
765if(NOT MSVC) 765# testenc doesn't have an executable instead it uses openssl executable which access various files for IO.
766 add_test(NAME testenc COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/testenc.sh) 766# adding such files to --preload-file is infeasible.
767else() 767if(NOT EMSCRIPTEN)
768 add_test(NAME testenc COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/testenc.bat $<TARGET_FILE:openssl>) 768 if(NOT MSVC)
769 add_test(NAME testenc COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/testenc.sh)
770 else()
771 add_test(NAME testenc COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/testenc.bat $<TARGET_FILE:openssl>)
772 endif()
773 set_tests_properties(testenc PROPERTIES ENVIRONMENT "srcdir=${TEST_SOURCE_DIR}")
769endif() 774endif()
770set_tests_properties(testenc PROPERTIES ENVIRONMENT "srcdir=${TEST_SOURCE_DIR}")
771 775
772# testrsa 776# testrsa
773if(NOT MSVC) 777if(NOT MSVC)