openssl/openssl
Vedi su GitHubOpenSSL test 'test_configutl' failed when build with VS2022 msvc
Open
#29.071 aperta il 5 nov 2025
help wantedtriaged: bug
Metriche repository
- Star
- (30.157 star)
- Metriche merge PR
- (Nessuna PR mergiata in 30 g)
Descrizione
When I use vs2022 msvc to run openssl tests, the test 'test_configutl' failed on both release and debug configuration. See the error below, could you please take a look?
Test Failures:
not ok 3 - escapes.cnf got/expected
# ------------------------------------------------------------------------------
not ok 5 - leading-and-trailing-whitespace.cnf got/expected
# ------------------------------------------------------------------------------
not ok 7 - order.cnf got/expected
# ------------------------------------------------------------------------------
not ok 9 - variables.cnf got/expected
# ------------------------------------------------------------------------------
# Failed test 'variables.cnf got/expected'
# at test\recipes\25-test_configutl.t line 43.
# got: '-1'
# expected: '0'
# Looks like you failed 4 tests of 9.25-test_configutl.t ...........
Repro steps:
- git clone https://github.com/openssl/openssl C:\gitP\openssl\openssl git -C "C:\gitP\openssl\openssl" rev-parse --git-dir git -C "C:\gitP\openssl\openssl" clean -xdf git -C "C:\gitP\openssl\openssl" fetch --recurse-submodules=no --force git -C "C:\gitP\openssl\openssl" reset --hard 55a0adf git -C "C:\gitP\openssl\openssl" remote prune origin git -C "C:\gitP\openssl\openssl" submodule sync git -C "C:\gitP\openssl\openssl" submodule foreach git reset --hard git -C "C:\gitP\openssl\openssl" submodule foreach git clean -xdf git -C "C:\gitP\openssl\openssl" submodule update --init --recursive
- set VSCMD_SKIP_SENDTELEMETRY=1 & "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\Common7\Tools\VsDevCmd.bat" -host_arch=amd64 -arch=amd64 -winsdk=10.0.26100.0
- set PATH=C:\Program Files\Microsoft Visual Studio\2022\Enterprise\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin;%PATH%
- cd /d C:\gitP\openssl\openssl
- perl Configure VC-WIN64A
- nmake clean
- nmake
- nmake test TESTS=test_configutl