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
commit5d2d8752f03934acb61dc9ca826563900d413e44 (patch)
treef16863dfe3df191193a221b99ae96be58d4611cc /Jamroot
parent45a28264df3f1347eba603ee0758e5d7f063c327 (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) ;
}
}