summaryrefslogtreecommitdiff
path: root/Jamroot
diff options
context:
space:
mode:
authorKenneth Heafield <github@kheafield.com>2012-05-11 20:31:57 -0400
committerKenneth Heafield <github@kheafield.com>2012-05-11 20:31:57 -0400
commit708ad7d7dbfc8f8d52312c3989f86b183e12af45 (patch)
tree50400d1eecea4c8bbb85b4a13ca28b5906604b08 /Jamroot
parente1cc454db3be1a5eedc3dba7022e813a772696d7 (diff)
Fix relative paths in tests.
Diffstat (limited to 'Jamroot')
-rw-r--r--Jamroot9
1 files changed, 4 insertions, 5 deletions
diff --git a/Jamroot b/Jamroot
index ad09509d..c9a8ee76 100644
--- a/Jamroot
+++ b/Jamroot
@@ -14,16 +14,15 @@ if [ test_header boost/serialization/map.hpp ] && [ test_library boost_serializa
project : requirements $(requirements) ;
project : default-build <threading>single <warnings>on <variant>release ;
-install-bin-libs utils//programs mteval//programs klm/lm//programs decoder//cdec ;
+install-bin-libs utils//programs mteval//programs klm/lm//programs decoder//cdec phrasinator//programs ;
-build-project mteval ;
-build-project decoder ;
+build-projects mteval decoder klm/lm ;
#Compile everything ending with _test.cc into a test and run it.
-rule all_tests ( targets * : dependencies ) {
+rule all_tests ( targets * : dependencies : properties * ) {
targets ?= [ glob *_test.cc ] ;
for t in $(targets) {
local base = [ MATCH "^(.*).cc$" : $(t) ] ;
- unit-test $(base) : $(t) $(dependencies) ..//boost_unit_test_framework ;
+ unit-test $(base) : $(t) $(dependencies) ..//boost_unit_test_framework : $(properties) ;
}
}