Fix incorrect path calculation for predef check program sources. Hence, re-enable the tests that use predef/check.

This commit is contained in:
Rene Rivera committed 2015-01-27 14:17:37 -06:00
1 parent 44133dce99
commit 65bb36c66d
2 files changed
+6 -4

No files matched your search

+4 -2
View File
@@ -27,10 +27,12 @@ local rule check_target ( language : ext )
# Need to use absolute paths because we don't know the
# context of the invocation which affects where the paths
# originate from.
local predef_jam
= [ modules.binding $(__name__) ] ;
local source_path
= [ path.root $(__name__:D)/predef_check_as_$(language).$(ext) [ path.pwd ] ] ;
= [ path.root $(predef_jam:D)/predef_check_as_$(language).$(ext) [ path.pwd ] ] ;
local include_path
= [ path.root $(__name__:D)/../include [ path.pwd ] ] ;
= [ path.root $(predef_jam:D)/../include [ path.pwd ] ] ;
_check_exe_($(language)) = [
exe predef_check_as_$(language)
: $(source_path)