Closed crunk1 closed 9 months ago
ctest
requires python3 and libfaketime packages.
(sign|verify)_ts* tests
needs a built-in HTTP server.
$ mkdir build && cd build && cmake -S ..
...
-- Found Python3: /usr/bin/python3.11 (found version "3.11.6") found components: Interpreter
-- HTTP server started, URL http://127.0.0.1:39483
-- Keys & certificates successfully generated
...
stop_server
test shuts down this server.
If you want to reuse ctest
you can use optional CMake parameter -DSTOP_SERVER=OFF
or use cmake to configure the osslsigncode project again:
$ cmake -S ..
-- Using bash completions dir /usr/share/bash-completion/completions
-- cURL support enabled
-- HTTP server started, URL http://127.0.0.1:41861
-- Keys & certificates successfully generated
-- Configuring done (3.4s)
-- Generating done (0.1s)
-- Build files have been written to: /home/mo/osslsigncode/build
@olszomal I'm running python 3.12.1 and I pip installed libfaketime. I'm still getting test failures.
Hi there and first and foremost, thank you for this tool!
I'm running into ctest failures when installing from AUR (https://aur.archlinux.org/packages/osslsigncode) and when building from source. I obsessively update my system, so maybe some library had a backwards-incompatible update? Or maybe I'm missing some dependency that the AUR package doesn't list? I'd be happy to provide any information, just let me know what I need to look up!
Failures: