Boost logo

Boost-Build :

From: Zbynek Winkler (zwin_at_[hidden])
Date: 2004-01-18 12:13:00


Hello.

Can we use 'echo > $(<)' instead of 'touch $(<)' in testing.jam? This
way it can be used even when there is no 'touch' :-) [i.e. cmd promt on
windows]

Zbynek

-- 
http://zw.matfyz.cz/ http://robotika.cz/
Faculty of Mathematics and Physics, Charles University, Prague, Czech 
Republic
 --------------070701070207020101030800 Content-Type: text/plain;
name="testing.patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename="testing.patch"
Index: v2/tools/testing.jam
===================================================================
RCS file: /boost/boost/tools/build/v2/tools/testing.jam,v
retrieving revision 1.20
diff -u -r1.20 testing.jam
--- v2/tools/testing.jam	28 Oct 2003 12:16:10 -0000	1.20
+++ v2/tools/testing.jam	18 Jan 2004 17:09:19 -0000
@@ -259,7 +259,7 @@
toolset.flags testing.unit-test LAUNCHER <testing.launcher> ;
actions unit-test 
{
- $(LAUNCHER) $(>) && touch $(<)
+ $(LAUNCHER) $(>) && echo > $(<)
}
toolset.flags testing.capture-output ARG <testing.arg> ;
 --------------070701070207020101030800-- 

Boost-Build 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