From 27723a740398eeb5ee2c97970214edf7adbd8195 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Fri, 3 Jul 2015 00:31:49 +0100 Subject: Use run over unit-test for output capture --- libtmdb/Jamfile.jam | 24 +++++++++++++++--------- 1 file changed, 15 insertions(+), 9 deletions(-) (limited to 'libtmdb') diff --git a/libtmdb/Jamfile.jam b/libtmdb/Jamfile.jam index bbdb3b6..9ec2e7a 100644 --- a/libtmdb/Jamfile.jam +++ b/libtmdb/Jamfile.jam @@ -36,9 +36,9 @@ lib tmdb : path-constant me : . ; -unit-test testModels : - [ glob testModels.cpp ] - : +run + testModels.cpp + : : : ROOT=\"$(me)\" BOOST_TEST_DYN_LINK boost_utf @@ -48,11 +48,13 @@ unit-test testModels : boost_filesystem boost_system tmdb + : + testModels ; -unit-test testFormatUrls : - [ glob testFormatUrls.cpp ] - : +run + testFormatUrls.cpp + : : : BOOST_TEST_DYN_LINK boost_utf tmdb @@ -61,11 +63,13 @@ unit-test testFormatUrls : boost_filesystem boost_system tmdb + : + testFormatUrls ; -unit-test testCallMockApi : - [ glob testCallMockApi.cpp ] - : +run + testCallMockApi.cpp + : : : BOOST_TEST_DYN_LINK boost_utf tmdb @@ -74,4 +78,6 @@ unit-test testCallMockApi : boost_filesystem boost_system tmdb + : + testCallMockApi ; -- cgit v1.2.3