Change #237064
Category | None |
Changed by | Viktor Szakats <commit | @vsz.me>
Changed at | Thu 19 Jun 2025 20:41:54 |
Repository | https://api.github.com/repos/curl/curl |
Project | curl/curl |
Branch | master |
Revision | 171b62375965fbf5f02e66f587a83043059ae41a |
Comments
cmake: build `stubgss` library for libtests to match autotools Used by test 2056 and 2057, in a way that's Linux- & autotools-specific. This patch builds it for all Unix, syncing cmake with autotools. Adapt the two tests to find the library in CMake builds as well. Tested OK on Linux. (CI does not test this. The corresponding jobs build in debug mode, while the `LD_PRELOAD` feature is locked to non-debug.) On macOS it didn't load without building everything for aarch64e arch: "../bld/tests/libtest/libstubgss.dylib' (mach-o file, but is an incompatible architecture (have 'arm64', need 'arm64e'))" With that fixed it still did not load correctly and/or the tests did not pass. So, for macOS these tests remain disabled. Also: - GHA/macos: build for aarch64e. (recognized by Apple clang as of this patch. llvm and gcc fall back to aarch64.) Follow-up to 56d949d31ad182a22bd3bad25b1a902b635d549d #1687 Closes #17653
Changed files
- .github/workflows/macos.yml
- tests/data/test2056
- tests/data/test2057
- tests/libtest/CMakeLists.txt
- tests/libtest/Makefile.am
- tests/libtest/Makefile.inc
- tests/runtests.pl