Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r55198 - trunk/tools/build/v2/test/generators-test
From: ghost_at_[hidden]
Date: 2009-07-30 14:43:08


Author: vladimir_prus
Date: 2009-07-27 03:20:34 EDT (Mon, 27 Jul 2009)
New Revision: 55198
URL: http://svn.boost.org/trac/boost/changeset/55198

Log:
Attempt at fixing generators_test on windows
Text files modified:
   trunk/tools/build/v2/test/generators-test/extra.jam | 14 ++++++++------
   1 files changed, 8 insertions(+), 6 deletions(-)

Modified: trunk/tools/build/v2/test/generators-test/extra.jam
==============================================================================
--- trunk/tools/build/v2/test/generators-test/extra.jam (original)
+++ trunk/tools/build/v2/test/generators-test/extra.jam 2009-07-27 03:20:34 EDT (Mon, 27 Jul 2009)
@@ -6,6 +6,7 @@
 import type ;
 import generators ;
 import "class" : new ;
+import common ;
 
 type.register WHL : whl ;
 type.register DLP : dlp ;
@@ -53,17 +54,18 @@
 generators.override extra.wd-to-cpp : extra.whale ;
 generators.override extra.wd-to-cpp : extra.dolphin ;
 
-
 generators.register [ new wd-to-cpp extra.wd-to-cpp : : CPP ] ;
     
 rule whale ( targets * : sources * : properties * )
 {
 }
 
+TOUCH = [ common.file-touch-command ] ;
+
 actions whale
 {
     echo "Whale consuming " $(>)
- touch $(<)
+ $(TOUCH) $(<)
 }
 
 rule dolphin ( targets * : source * : properties * )
@@ -73,7 +75,7 @@
 actions dolphin
 {
     echo "Dolphin consuming" $(>)
- touch $(<)
+ $(TOUCH) $(<)
 }
 
 rule wd ( targets * : source * : properties * )
@@ -83,7 +85,7 @@
 actions wd
 {
     echo "WD consuming" $(>)
- touch $(<)
+ $(TOUCH) $(<)
 }
 
 rule x ( target * : source * : properties * )
@@ -94,7 +96,7 @@
 actions x
 {
     echo "X: source is " $(>)
- touch $(<)
+ $(TOUCH) $(<)
 }
 
 rule x_pro ( target * : source * : properties * )
@@ -105,7 +107,7 @@
 actions x_pro
 {
     echo "X_PRO: source is " $(>)
- touch $(<)
+ $(TOUCH) $(<)
 }
 
 


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