From 15d0275b87e0d38be2143daf83a7d0ddbedaec81 Mon Sep 17 00:00:00 2001 From: Klemens Morgenstern Date: Fri, 25 Oct 2024 12:04:52 +0800 Subject: [PATCH] remove test_impl lib --- test/v2/Jamfile.jam | 22 ++++++++++------------ test/v2/test_impl.cpp | 2 +- 2 files changed, 11 insertions(+), 13 deletions(-) diff --git a/test/v2/Jamfile.jam b/test/v2/Jamfile.jam index 3b7769601..01b93e502 100644 --- a/test/v2/Jamfile.jam +++ b/test/v2/Jamfile.jam @@ -36,24 +36,22 @@ import testing ; exe target : target.cpp : off windows:shell32 windows:Ntdll + ; -lib test_impl : test_impl.cpp /boost/process//boost_process : - BOOST_PROCESS_V2_SEPARATE_COMPILATION=1 - BOOST_TEST_IGNORE_SIGCHLD=1 - ; +local test_impl = test_impl.cpp /boost/process//boost_process /boost/test//boost_unit_test_framework ; test-suite standalone : - [ run utf8.cpp test_impl ] - [ run cstring_ref.cpp test_impl ] - [ run environment.cpp test_impl ] - [ run shell.cpp test_impl ] + [ run utf8.cpp $(test_impl) ] + [ run cstring_ref.cpp $(test_impl) ] + [ run environment.cpp $(test_impl) ] + [ run shell.cpp $(test_impl) ] ; test-suite with_target : - [ run pid.cpp test_impl : --log_level=all --catch_system_errors=no -- : target ] - [ run process.cpp test_impl : --log_level=all --catch_system_errors=no -- : target ] - [ run windows.cpp test_impl : --log_level=all --catch_system_errors=no -- : target : no windows:yes windows:Advapi32 ] - [ run ext.cpp test_impl : --log_level=all --catch_system_errors=no -- : target : darwin:no ] + [ run pid.cpp $(test_impl) : --log_level=all --catch_system_errors=no -- : target ] + [ run process.cpp $(test_impl) : --log_level=all --catch_system_errors=no -- : target ] + [ run windows.cpp $(test_impl) : --log_level=all --catch_system_errors=no -- : target : no windows:yes windows:Advapi32 ] + [ run ext.cpp $(test_impl) : --log_level=all --catch_system_errors=no -- : target : darwin:no ] ; diff --git a/test/v2/test_impl.cpp b/test/v2/test_impl.cpp index 6df708548..189f39fae 100644 --- a/test/v2/test_impl.cpp +++ b/test/v2/test_impl.cpp @@ -5,4 +5,4 @@ #define BOOST_TEST_IGNORE_SIGCHLD #define BOOST_TEST_MODULE process_v2_test -#include +#include