• Home
  • Raw
  • Download

Lines Matching +full:windows +full:- +full:test +full:- +full:rules

2 #          Copyright Andrey Semashev 2015 - 2018.
20 project.push-current [ project.current ] ;
21 project.load [ path.join [ path.make $(here:D) ] config/has-bcrypt ] ;
22 project.pop-current ;
32 <toolset>intel-win:<define>_SCL_SECURE_NO_WARNINGS
33 <toolset>intel-win:<define>_SCL_SECURE_NO_DEPRECATE
34 <toolset>intel-win:<define>_CRT_SECURE_NO_WARNINGS
35 <toolset>intel-win:<define>_CRT_SECURE_NO_DEPRECATE
37 : default-build
43 # This rule makes sure the tests are run only on Windows
44 rule filter-target-os ( properties * )
47 if ! ( <target-os>windows in $(properties) || <target-os>cygwin in $(properties) )
55 # The rule tests if the Windows SDK supports BCrypt API and library
56 rule check-has-bcrypt ( properties * )
60 …_bcrypt = [ configure.builds /boost/winapi/test/has-bcrypt//has_bcrypt : $(properties) : windows-s…
71 # the run rules, which we can pass on to the test_suite rule:
77 for file in [ path.glob-tree $(headers_path) : *.hpp : detail ]
79 local rel_file = [ path.relative-to [ path.parent $(headers_path) ] $(file) ] ;
80 …# Note: The test name starts with '~' in order to group these tests in the test report table, pref…
81 …# All '/' are replaced with '-' because apparently test scripts have a problem with test nam…
82 local test_name = [ regex.replace $(rel_file) "/" "-" ] ;
83 local decl_test_name = ~hdr-decl-$(test_name) ;
84 local use_winh_test_name = ~hdr-use-winh-$(test_name) ;
85 local pre_winh_test_name = ~hdr-pre-winh-$(test_name) ;
86 local post_winh_test_name = ~hdr-post-winh-$(test_name) ;
88 …all_rules += [ compile compile/decl_header.cpp : <conditional>@filter-target-os <define>"BOOST_WIN…
89 …all_rules += [ compile compile/decl_header.cpp : <conditional>@filter-target-os <define>"BOOST_WIN…
90 …all_rules += [ compile compile/windows_h_pre.cpp : <conditional>@filter-target-os <define>"BOOST_W…
91 …all_rules += [ compile compile/windows_h_post.cpp : <conditional>@filter-target-os <define>"BOOST_…
97 local rel_file = [ path.relative-to $(headers_path) $(file) ] ;
98 local test_name = [ regex.replace $(rel_file) "/" "-" ] ;
99 local decl_test_name = ~hdr-decl-$(test_name) ;
100 local use_winh_test_name = ~hdr-use-winh-$(test_name) ;
101 local pre_winh_test_name = ~hdr-pre-winh-$(test_name) ;
102 local post_winh_test_name = ~hdr-post-winh-$(test_name) ;
104 …all_rules += [ compile compile/decl_header.cpp : <conditional>@filter-target-os <define>"BOOST_WIN…
105 …all_rules += [ compile compile/decl_header.cpp : <conditional>@filter-target-os <define>"BOOST_WIN…
106 …all_rules += [ compile compile/windows_h_pre.cpp : <conditional>@filter-target-os <define>"BOOST_W…
107 …all_rules += [ compile compile/windows_h_post.cpp : <conditional>@filter-target-os <define>"BOOST_…
112 local reqs = <conditional>@filter-target-os <define>"BOOST_WINAPI_DEFINE_VERSION_MACROS=1" ;
116 reqs += <test-info>always_show_run_output ;
120 reqs += <conditional>@check-has-bcrypt ;
135 #ECHO All rules: $(all_rules) ;
139 test-suite winapi : [ test_all ] ;