Boost logo

Boost-Build :

From: David Abrahams (david.abrahams_at_[hidden])
Date: 2002-02-14 13:22:40


Are we looking at the same thing? test-development's last revision 1.15.2.9
contains the following, for example:

if $(NT)
{
CATENATE1 = "if exist \"" ;
CATENATE2 = "\" ( type \"" ;
CATENATE3 = "\"
ECHO ****************************************************** )" ;

actions failed-test-file bind output-file source-files
{
echo "$(source-files)" > $(<:S=.test)
if EXIST "$(>)". (
if EXIST "$(<:S=.success)". del /f/q "$(<:S=.success)".
echo "failed" > "$(<:S=.failure)"

echo *
echo ***************** failed above test: $(<:B:S=)
********************
$(CATENATE1)$(output-file)$(CATENATE2)$(output-file)$(CATENATE3)
echo *
) ELSE (
if EXIST "$(<:S=.failure)". del /f/q "$(<:S=.failure)".
echo succeeded > "$(<:S=.success)"
rem echo succeeded > $(>)
)
}

actions succeeded-test-file bind output-file source-files
{
echo "$(source-files)" > $(<:S=.test)
if EXIST "$(>)". (
if EXIST "$(<:S=.failure)". del /f/q "$(<:S=.failure)".
echo succeeded > "$(<:S=.success)"
) ELSE (
if EXIST "$(<:S=.success)". del /f/q "$(<:S=.success)".
echo failed > "$(<:S=.failure)"
rem echo failed > $(>)

echo *
echo ***************** failed above test: $(<:B:S=)
********************
$(CATENATE1)$(output-file)$(CATENATE2)$(output-file)$(CATENATE3)
echo *
)
}
}
else
{
CATENATE = "cat " ;
# need UNIX actions
}

----- Original Message -----
From: "Rene Rivera" <grafik666_at_[hidden]>
To: <jamboost_at_[hidden]>
Sent: Thursday, February 14, 2002 12:26 PM
Subject: Re: [jamboost] Re: [boost] Boost.Build update...

> On 2002-02-14 at 12:14 PM, david.abrahams_at_[hidden] (David Abrahams) wrote:
>
> >
> >----- Original Message -----
> >From: "Rene Rivera" <grafik666_at_[hidden]>
> >
> >> In the "test-development" branch right? Yea, I only tested the main
line.
> >I'll
> >> take a look to see if things break with the new one.
> >
> >that file needs some actions adjusted to work on *nix systems. Once
that's
> >done, it would be good to merge it back into the trunk.
>
> OK, it seems to work fine for me, even on my *nix system :-) That is the
build
> system part works without problems, 7 of the tests fail for gcc 2.96 but
> that's what the tests are for!
>
>
> -- grafik - Don't Assume Anything
> -- rrivera_at_[hidden] - grafik_at_[hidden]
> -- 102708583_at_icq - Grafik666_at_AIM - Grafik_at_[hidden]
>
>
> To unsubscribe from this group, send an email to:
> jamboost-unsubscribe_at_[hidden]
>
>
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>
>

 


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