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
ctest runs executables that are using Boost.Test.
The executables take arguments like --log_level=all.
I couldn't find a easy way to provide the arguments via ctest.
Boost.Test can handle both boost test options and user program options.
./a.out --log_level=all -- arg1 arg2
After -- , I can pass the arguments for the program.
ctest runs executables that are using Boost.Test.
The executables take arguments like
--log_level=all
.I couldn't find a easy way to provide the arguments via ctest.
Boost.Test can handle both boost test options and user program options.
After
--
, I can pass the arguments for the program.I expect the similar functionality to ctest.
e.g)
However, there isn't.
So I used the following hack.
mqtt_cpp/test/args_provider.sh
Lines 1 to 3 in 2627573
mqtt_cpp/test/CMakeLists.txt
Line 131 in 2627573
mqtt_cpp/.github/workflows/gha.yml
Line 86 in 2627573
It works.
However, I tired to do the same thing on windows but I couldn't do that.
Here is a part of code I tried.
mqtt_cpp/test/args_provider.ps1
Lines 1 to 2 in 2627573
mqtt_cpp/azure-pipelines.yml
Lines 155 to 157 in 2627573
It remains in master for future.
The text was updated successfully, but these errors were encountered: