You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Python tests assumed the build and source directories were identical, which
holds for an in-tree build but not for `make distcheck`, where automake
builds in a separate _build/sub directory. Under distcheck the wolfssl
binary was searched for under the source tree (where it did not exist),
fixture files were opened via cwd-relative paths, and the certs/ tree was
not distributed at all. As a result every Python test either failed to
find the wolfssl binary or skipped because certs/ was missing.
- Add certs/ to EXTRA_DIST so it ships in the distribution tarball.
- Teach wolfclu_test.py to locate the wolfssl binary and certs/ via the
build/source directories exported through AM_TESTS_ENVIRONMENT, with
sensible fallbacks for direct script invocation.
- Replace cwd-relative "./tests/<dir>" paths in dgst, hash, and
x509-process tests with paths derived from each test file's location,
so they resolve correctly regardless of where the test is run from.
0 commit comments