diff options
author | Kenneth Heafield <github@kheafield.com> | 2012-05-11 20:31:57 -0400 |
---|---|---|
committer | Kenneth Heafield <github@kheafield.com> | 2012-05-11 20:31:57 -0400 |
commit | 5d2d8752f03934acb61dc9ca826563900d413e44 (patch) | |
tree | f16863dfe3df191193a221b99ae96be58d4611cc /Jamroot | |
parent | 45a28264df3f1347eba603ee0758e5d7f063c327 (diff) |
Fix relative paths in tests.
Diffstat (limited to 'Jamroot')
-rw-r--r-- | Jamroot | 9 |
1 files changed, 4 insertions, 5 deletions
@@ -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) ; } } |