From a7c16bf6954ed526df0d6ae4d27b901ee68e1831 Mon Sep 17 00:00:00 2001 From: "Ralf W. Grosse-Kunstleve" Date: Sun, 4 Apr 2010 21:03:33 +0000 Subject: [PATCH] libs/python/test/Jamfile.v2: compile calling_conventions tests only under Windows, following Valdimir Prus' instructions (boost mailing list) [SVN r61053] --- test/Jamfile.v2 | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/test/Jamfile.v2 b/test/Jamfile.v2 index 1a5683b0..04f74bd8 100644 --- a/test/Jamfile.v2 +++ b/test/Jamfile.v2 @@ -184,8 +184,16 @@ bpl-test crossmod_opaque # bpl-test bienstman5 ; # } -[ bpl-test calling_conventions ] -[ bpl-test calling_conventions_mf ] +rule require-windows ( properties * ) +{ + if ! windows in $(properties) + { + return no ; + } +} + +[ bpl-test calling_conventions : : @require-windows ] +[ bpl-test calling_conventions_mf : : @require-windows ] # --- unit tests of library components ---