File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 33# (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
44
55import testing ;
6+ import regex ;
67
78lib boost_chrono ;
89lib boost_interprocess ;
@@ -25,10 +26,7 @@ rule test_all
2526
2627 for local fileb in [ glob *.cpp ]
2728 {
28- all_rules += [ run $(fileb)
29- : # additional args
30- : # test-files
31- : # requirements
29+ local reqs =
3230 <toolset>acc:<linkflags>-lrt
3331 <toolset>acc-pa_risc:<linkflags>-lrt
3432 <target-os>windows,<toolset>gcc:<linkflags>"-lole32 -loleaut32 -lpsapi -ladvapi32"
@@ -39,7 +37,15 @@ rule test_all
3937 <threading>multi
4038 <link>static
4139 <define>BOOST_TEST_NO_OLD_TOOLS
42- ] ;
40+ ;
41+
42+ # Interprocess tests fail under QEMU on s390x (bad_alloc in shared memory)
43+ if [ regex.search "interprocess" $(fileb) ]
44+ {
45+ reqs += <architecture>s390x:<build>no ;
46+ }
47+
48+ all_rules += [ run $(fileb) : : : $(reqs) ] ;
4349 }
4450
4551 return $(all_rules) ;
You can’t perform that action at this time.
0 commit comments