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 | 708ad7d7dbfc8f8d52312c3989f86b183e12af45 (patch) | |
| tree | 50400d1eecea4c8bbb85b4a13ca28b5906604b08 /Jamroot | |
| parent | e1cc454db3be1a5eedc3dba7022e813a772696d7 (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) ;    }  }  | 
