diff options
author | MoustaphaSaad <moustapha.saad.abdelhamed@gmail.com> | 2024-05-31 20:53:48 +0300 |
---|---|---|
committer | Theo Buehler <tb@openbsd.org> | 2024-06-19 14:06:09 +0200 |
commit | d70a51a32aa8e1dc5934471570aa1970cf76cea7 (patch) | |
tree | 49a00cfaa869d3f894ea52f436b092d0591f0940 /tests | |
parent | bf429449fb7eb34065d0722f45d3c633fe947878 (diff) | |
download | portable-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.txt | 14 |
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) | |||
762 | endif() | 762 | endif() |
763 | 763 | ||
764 | # testenc | 764 | # testenc |
765 | if(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. |
767 | else() | 767 | if(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}") | ||
769 | endif() | 774 | endif() |
770 | set_tests_properties(testenc PROPERTIES ENVIRONMENT "srcdir=${TEST_SOURCE_DIR}") | ||
771 | 775 | ||
772 | # testrsa | 776 | # testrsa |
773 | if(NOT MSVC) | 777 | if(NOT MSVC) |