
On Fri, Apr 11, 2025 at 7:06 AM Dennis Luehring via Boost < boost@lists.boost.org> wrote:
im building boost on a Win11 and run my boost-libs using application on an different/customized Win10 platform
normally im running at least once the tests of the used libs when building boost
cd boost-root\libs\asio\test b2 test
the tests getting build and runned - nice and perfect
but is there a way to run the builded tests on my other platform without installed development tools? its a very small reduced pseudo embedded Win 10 system
It is possible. But it will take some work on your part to effectuate the "run the builded tests on my other platform" part. The basic aspect is you specify a program/script that wraps the execution of the tests to do the aspect of running it remotely. To do that you specify the name of that with "testing.launcher=<program>" (See https://www.bfgroup.xyz/b2/manual/release/index.html#b2.builtins.testing). I.e. if the program was "testonwin10.exe" you would do this: b2 test testing.laucher=testonwin10.exe The launcher is invoked with all the arguments that would be given to the tested program **including the tested program itself** (i.e. argv[0..n]). It is then up to you to do whatever. In the past others have needed to do things like remote copy the test executable to the test machine along with input files and then doing a remote exec capturing the output and re-echoing the output on the host machine. You may ask.. That's a lot of work. Why doesn't B2 already do all that for me? The answer .. It would be a lot of work with lots of fiddly aspects for all kinds of platforms and situations that a small build system like B2 is just not the best tool for. :-) -- -- René Ferdinand Rivera Morell -- Don't Assume Anything -- No Supongas Nada -- Robot Dreams - http://robot-dreams.net