List Info

Thread: Broken V2 testing.




Broken V2 testing.
user name
2006-10-24 14:27:35
Vladimir Prus wrote:
> Rene, as I've said in an email some time ago you need
to use
> 
>    python test_all.py gcc-mingw_specific-3.4.5 

I don't remember you saying that :-(

> I think it's not very hard to specify by hand,

It is when the toolset condition is being autodetected.

> and on the other hand it's
> pretty hard to make the Python-based test system figure
out which toolset
> is defined first in your user-config.jam.

Except that the above is not the first toolset in my
user-config:

====
import toolset : using ;

path-constant DEVELOPMENT : C:/Development ;

using msvc : all ;

using gcc : : C:/MinGW/bin/g++.exe ;
====

So it's some toolset the test program decides it should use.
As making 
the test system figure out the toolset we can easily support
a 
"--show-tools" option and have the test system
read in the result.


-- 
-- Grafik - Don't Assume Anything
-- Redshift Software, Inc. - http://redshift-software
.com
-- rrivera/acm.org - grafik/redshift-software.com
-- 102708583/icq - grafikrobot/aim - grafikrobot/yahoo
_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build
Broken V2 testing.
user name
2006-10-24 17:39:46
On Tuesday 24 October 2006 18:27, Rene Rivera wrote:
> Vladimir Prus wrote:
> > Rene, as I've said in an email some time ago you
need to use
> >
> >    python test_all.py gcc-mingw_specific-3.4.5
>
> I don't remember you saying that :-(
>
> > I think it's not very hard to specify by hand,
>
> It is when the toolset condition is being autodetected.
>
> > and on the other hand it's
> > pretty hard to make the Python-based test system
figure out which toolset
> > is defined first in your user-config.jam.
>
> Except that the above is not the first toolset in my
user-config:
>
> ====
> import toolset : using ;
>
> path-constant DEVELOPMENT : C:/Development ;
>
> using msvc : all ;
>
> using gcc : : C:/MinGW/bin/g++.exe ;
> ====
>
> So it's some toolset the test program decides it should
use. 

No, it looks it's the auto-detected version of 'gcc' 

> As making 
> the test system figure out the toolset we can easily
support a
> "--show-tools" option and have the test
system read in the result.

Perphaps, I'm not sure how that will mix with that
auto-detection of gcc 
version -- we need to have the auto-detected version
printed.

- Volodya


_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build
Broken V2 testing.
user name
2006-10-24 18:15:02
Vladimir Prus wrote:
> On Tuesday 24 October 2006 18:27, Rene Rivera wrote:

>> So it's some toolset the test program decides it
should use. 
> 
> No, it looks it's the auto-detected version of 'gcc'


 Now
how is it "auto-detecting" "gcc" as the
toolset?

>> As making 
>> the test system figure out the toolset we can
easily support a
>> "--show-tools" option and have the test
system read in the result.
> 
> Perphaps, I'm not sure how that will mix with that
auto-detection of gcc 
> version -- we need to have the auto-detected version
printed.

I just added a "--show-configuration" option:

=== bjam --v2 -n --show-configuration nothing
notice: <toolset>msvc-8.0
notice: <toolset>msvc-7.1
notice: <toolset>gcc-3.4.5-mingw_special
notice:
<toolset>gcc-3.4.5~mingw~stlport50-mingw_special
notice:
<toolset>gcc-3.4.5~mingw~stlport51-mingw_special
===

Perhaps just making the tests do a regex comparison would be
more 
useful, or easier to implement?


-- 
-- Grafik - Don't Assume Anything
-- Redshift Software, Inc. - http://redshift-software
.com
-- rrivera/acm.org - grafik/redshift-software.com
-- 102708583/icq - grafikrobot/aim - grafikrobot/yahoo
_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build
Broken V2 testing.
user name
2006-10-24 23:29:26
Rene Rivera wrote:
> Perhaps just making the tests do a regex comparison
would be more 
> useful, or easier to implement?

I went ahead and implemented the use of glob pattern
matching for the 
toolset names and a looser matching for file content. Now
most of the 
tests for Windows pass.


-- 
-- Grafik - Don't Assume Anything
-- Redshift Software, Inc. - http://redshift-software
.com
-- rrivera/acm.org - grafik/redshift-software.com
-- 102708583/icq - grafikrobot/aim - grafikrobot/yahoo

_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build
[1-4]

about | contact  Other archives ( Real Estate discussion Medical topics )