Re: [log4cxx] How to run the throughput test?

2021-12-29 Thread Thorsten Schöning
Guten Tag Robert Middleton, am Donnerstag, 30. Dezember 2021 um 00:24 schrieben Sie: > After taking a look at this, maybe the best option is to add the > throughput as a unit test so that we can set the path the same as the > other unit tests? If it fixes the path issue and enabling/disabling

Re: [log4cxx] How to run the throughput test?

2021-12-29 Thread Stephen Webb
On Windows, I manually copied troughputtests.exe to the installation directory (so log4cxx.dll is in the same directory). Perhaps it should be installed by cmake when BUILD_THROUGHPUT_TESTS is on.

Re: [log4cxx] How to run the throughput test?

2021-12-29 Thread Robert Middleton
After taking a look at this, maybe the best option is to add the throughput as a unit test so that we can set the path the same as the other unit tests? If it is not added as a unit test it won't be run(which is good), but if we enable the option it will run. You can also run individual tests

Re: [log4cxx] How to run the throughput test?

2021-12-29 Thread Stephen Webb
That looks like a cmake issue - could you try cmake version 3.22? I am still using Visual Studio 2019 Community Edition. Virus-free. www.avast.com

Re: [log4cxx] How to run the throughput test?

2021-12-29 Thread Robert Middleton
Perhaps we need to add a custom target to CMake to make it runnable? I think that would then hook into visual studio to make it easy to run; I'll try to take a look at it tonight. The part of the CMakeLists.txt file that does that was copy from one directory up, so it could be a directory level

[log4cxx] How to run the throughput test?

2021-12-29 Thread Thorsten Schöning
Hi everyone, I just tried to run the throughput test: Installed FMT using VCPKG, changed CMAKE to option that test ON and things built successfully. Though, running fails because log4cxx.dll can't be found. In theory CMAKE should already handle that using the following line: >