summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2015-07-03 00:31:49 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2015-07-03 00:31:49 +0100
commit27723a740398eeb5ee2c97970214edf7adbd8195 (patch)
treefa473ed65a5ff0c3d714d2f62ec50771113feeaa
parentAdd systemd services (diff)
downloadp2pvr-27723a740398eeb5ee2c97970214edf7adbd8195.tar.bz2
p2pvr-27723a740398eeb5ee2c97970214edf7adbd8195.tar.xz
p2pvr-27723a740398eeb5ee2c97970214edf7adbd8195.zip
Use run over unit-test for output capture
-rw-r--r--libtmdb/Jamfile.jam24
1 files changed, 15 insertions, 9 deletions
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
+ : : :
<define>ROOT=\"$(me)\"
<define>BOOST_TEST_DYN_LINK
<library>boost_utf
@@ -48,11 +48,13 @@ unit-test testModels :
<library>boost_filesystem
<library>boost_system
<implicit-dependency>tmdb
+ :
+ testModels
;
-unit-test testFormatUrls :
- [ glob testFormatUrls.cpp ]
- :
+run
+ testFormatUrls.cpp
+ : : :
<define>BOOST_TEST_DYN_LINK
<library>boost_utf
<library>tmdb
@@ -61,11 +63,13 @@ unit-test testFormatUrls :
<library>boost_filesystem
<library>boost_system
<implicit-dependency>tmdb
+ :
+ testFormatUrls
;
-unit-test testCallMockApi :
- [ glob testCallMockApi.cpp ]
- :
+run
+ testCallMockApi.cpp
+ : : :
<define>BOOST_TEST_DYN_LINK
<library>boost_utf
<library>tmdb
@@ -74,4 +78,6 @@ unit-test testCallMockApi :
<library>boost_filesystem
<library>boost_system
<implicit-dependency>tmdb
+ :
+ testCallMockApi
;