boost-ext / ut

C++20 μ(micro)/Unit Testing Framework
https://boost-ext.github.io/ut
Boost Software License 1.0
1.26k stars 120 forks source link

little fix cmake + little fix github pipelines #636

Closed Arniiiii closed 3 months ago

Arniiiii commented 3 months ago

Problem: Install, enscriptem and macos pipelines were failing.

Install because there was find_package(ut ) with specific old version if BOOST_UT_TEST_INSTALLED_VERSION at test/CMakeLists.txt.

enscriptem because there was ask specific ask for set(CMAKE_CXX_STANDARD 20) at test/CMakeLists.txt and there was an example that could not be compiled. I've fixed cmake and wrapped with macro the failing part of the example

macos was failing because it couldn't install pyyaml. After my friend at live through discord tried to reproduce and made mistake, it was found out that pipx install pyaml works, but pipx install pyyaml doesn't work. IDK why. Though, there's test fail at macos pipeline, and a guy said it's because source_location is broken on macos.

Also there was some bad docstring for BOOST_UT_ENABLE_SANITIZERS .

Also added two .sh scripts at tests for easy checking of installed version.

Also all cmake commands at pipelines now produce more verbose output and some commands parallelized at -j4 .

maybe review, please @krzysztof-jusiak

kris-jusiak commented 3 months ago

Thank you @Arniiiii very much! :bow: