@@ -268,16 +268,15 @@ rule generate_self_contained_header_tests
268
268
269
269
if ! [ os.environ BOOST_THREAD_TEST_WITHOUT_SELF_CONTAINED_HEADER_TESTS ]
270
270
{
271
- local headers_path = [ path.make $(BOOST_ROOT)/libs/thread/include/boost/thread ] ;
272
- for file in [ path.glob-tree $(headers_path) : *.hpp : detail pthread win32 ]
271
+ for file in [ glob-tree-ex ../include/boost/thread : *.hpp : detail pthread win32 ]
273
272
{
274
- local rel_file = [ path.relative-to $(headers_path) $(file) ] ;
273
+ local rel_file = [ path.relative-to ../include/boost/thread $(file) ] ;
275
274
# Note: The test name starts with '~' in order to group these tests in the test report table, preferably at the end.
276
275
# All '/' are replaced with '-' because apparently test scripts have a problem with test names containing slashes.
277
276
local test_name = [ regex.replace ~hdr/$(rel_file) "/" "-" ] ;
278
277
#ECHO $(rel_file) ;
279
- all_rules += [ compile self_contained_header.cpp : <define>"BOOST_THREAD_TEST_HEADER=$(rel_file)" <dependency>$(file) : $(test_name) ] ;
280
- all_rules += [ compile self_contained_header.cpp : <define>"BOOST_THREAD_TEST_HEADER=$(rel_file)" <define>"BOOST_THREAD_TEST_POST_WINDOWS_H" <dependency>$(file) <conditional>@windows-cygwin-specific : $(test_name)-post_winh ] ;
278
+ all_rules += [ compile self_contained_header.cpp : <define>"BOOST_THREAD_TEST_HEADER=$(rel_file)" <dependency>$(file) <use>../build//boost_thread : $(test_name) ] ;
279
+ all_rules += [ compile self_contained_header.cpp : <define>"BOOST_THREAD_TEST_HEADER=$(rel_file)" <define>"BOOST_THREAD_TEST_POST_WINDOWS_H" <dependency>$(file) <conditional>@windows-cygwin-specific <use>../build//boost_thread : $(test_name)-post_winh ] ;
281
280
}
282
281
}
283
282
@@ -1012,7 +1011,7 @@ rule generate_self_contained_header_tests
1012
1011
#[ thread-run test_10128.cpp ]
1013
1012
#[ thread-run test_10340.cpp ]
1014
1013
;
1015
-
1014
+
1016
1015
explicit ts_more_cpp11 ;
1017
1016
test-suite ts_more_cpp11
1018
1017
:
@@ -1033,13 +1032,13 @@ rule generate_self_contained_header_tests
1033
1032
:
1034
1033
[ thread-run2-noit ./experimental/parallel/v1/exception_list_pass.cpp : exception_list_p ]
1035
1034
;
1036
-
1035
+
1037
1036
#explicit ts_task_region ;
1038
1037
test-suite ts_task_region
1039
1038
:
1040
1039
[ thread-run2-noit ./experimental/parallel/v2/task_region_pass.cpp : task_region_p ]
1041
1040
;
1042
-
1041
+
1043
1042
explicit ts_other ;
1044
1043
test-suite ts_other
1045
1044
:
@@ -1050,7 +1049,7 @@ rule generate_self_contained_header_tests
1050
1049
explicit ts_ ;
1051
1050
test-suite ts_
1052
1051
:
1053
- #[ thread-run test_11256.cpp ]
1052
+ #[ thread-run test_11256.cpp ]
1054
1053
#[ thread-run test_11256.cpp ]
1055
1054
#[ thread-run test_11499.cpp ]
1056
1055
#[ thread-run test_11611.cpp ]
@@ -1060,7 +1059,7 @@ rule generate_self_contained_header_tests
1060
1059
#[ thread-run test_12949.cpp ]
1061
1060
#[ thread-run test_13480b.cpp ]
1062
1061
[ thread-run test_13561.cpp ]
1063
-
1062
+
1064
1063
;
1065
1064
1066
1065
explicit test_time_jumps_1_obj ;
0 commit comments