Dirk,

[…]
>    1.) Either add 'toolpath=["."]' to the environment definition, or
>    2.) put the protoc.py in a default path, where it gets picked up 
> automatically:
> 
>        test.file_fixture('../protoc.py','site_scons/site_tools')    # 
> untested!

1 works, I haven't tried 2 since 1 worked :-)

        environment = Environment(
            toolpath=['.'],
            tools=['protoc'],
        )
        
> Does this help?

Yes, but… is this the right paradigm to get people writing tests for
non-core tools to use? I can become happy with "yes", but I just wonder
if there is an easier way.

-- 
Russel.
=============================================================================
Dr Russel Winder      t: +44 20 7585 2200   voip: sip:russel.win...@ekiga.net
41 Buckmaster Road    m: +44 7770 465 077   xmpp: rus...@winder.org.uk
London SW11 1EN, UK   w: www.russel.org.uk  skype: russel_winder

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
Scons-dev mailing list
Scons-dev@scons.org
http://two.pairlist.net/mailman/listinfo/scons-dev

Reply via email to