Skip to content

Commit c6565eb

Browse files
committed
bjam: disable intreprocess on 390x CI
1 parent 152d47d commit c6565eb

1 file changed

Lines changed: 11 additions & 5 deletions

File tree

test/Jamfile.v2

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
# (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
44

55
import testing ;
6+
import regex ;
67

78
lib boost_chrono ;
89
lib 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) ;

0 commit comments

Comments
 (0)