mirror of
https://github.com/boostorg/predef.git
synced 2025-07-29 03:27:13 +02:00
Fix incorrect path calculation for predef check program sources. Hence, re-enable the tests that use predef/check.
This commit is contained in:
@ -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)
|
||||
|
@ -55,6 +55,6 @@ test-suite predef :
|
||||
[ run info_as_objc.m : : : <test-info>always_show_run_output ]
|
||||
[ run version.cpp ]
|
||||
[ run make.cpp ]
|
||||
# [ compile macos_endian.c : [ predef-require "BOOST_OS_MACOS" : cpp ] ]
|
||||
# [ compile macos_vs_bsd.c : [ predef-require "BOOST_OS_MACOS" : cpp ] ]
|
||||
[ compile macos_endian.c : [ predef-require "BOOST_OS_MACOS" : cpp ] ]
|
||||
[ compile macos_vs_bsd.c : [ predef-require "BOOST_OS_MACOS" : cpp ] ]
|
||||
;
|
||||
|
Reference in New Issue
Block a user