Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r61053 - trunk/libs/python/test
From: rwgk_at_[hidden]
Date: 2010-04-04 17:03:34


Author: rwgk
Date: 2010-04-04 17:03:33 EDT (Sun, 04 Apr 2010)
New Revision: 61053
URL: http://svn.boost.org/trac/boost/changeset/61053

Log:
libs/python/test/Jamfile.v2: compile calling_conventions tests only under Windows, following Valdimir Prus' instructions (boost mailing list)
Text files modified:
   trunk/libs/python/test/Jamfile.v2 | 12 ++++++++++--
   1 files changed, 10 insertions(+), 2 deletions(-)

Modified: trunk/libs/python/test/Jamfile.v2
==============================================================================
--- trunk/libs/python/test/Jamfile.v2 (original)
+++ trunk/libs/python/test/Jamfile.v2 2010-04-04 17:03:33 EDT (Sun, 04 Apr 2010)
@@ -184,8 +184,16 @@
 # bpl-test bienstman5 ;
 # }
 
-[ bpl-test calling_conventions ]
-[ bpl-test calling_conventions_mf ]
+rule require-windows ( properties * )
+{
+ if ! <target-os>windows in $(properties)
+ {
+ return <build>no ;
+ }
+}
+
+[ bpl-test calling_conventions : : <conditional>@require-windows ]
+[ bpl-test calling_conventions_mf : : <conditional>@require-windows ]
 
 # --- unit tests of library components ---
 


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk