[Scons-dev] Getting started with the SCons code base~

William Blevins wblevins001 at gmail.com
Sat Jul 12 13:20:13 EDT 2014


Added a pull request for that test.  Please take a looksy.

I noticed in the test documentation we were deprecating test.write in favor
of file copying; the writes for this test are very small and I didn't see
the need to refactor.  Let me know if that is unacceptable.


On Sat, Jul 12, 2014 at 1:09 PM, William Blevins <wblevins001 at gmail.com>
wrote:

> [wblevins at localhost scons]$ ./runtest.py test/Java/DerivedSourceTest.py
>> 1/1 (100.00%) /usr/bin/python -tt test/Java/DerivedSourceTest.py
>> /home/wblevins/BitBucket/scons/src/script/scons.py returned 2
>> STDOUT
>> =========================================================================
>> scons: Reading SConscript files ...
>> scons: done reading SConscript files.
>> scons: Building targets ...
>> scons: building terminated because of errors.
>>
>> STDERR
>> =========================================================================
>> scons: *** [.] ValueError : zero length field name in format
>>
>>
>> FAILED test of /home/wblevins/BitBucket/scons/src/script/scons.py
>>     at line 598 of /home/wblevins/BitBucket/scons/QMTest/TestCommon.py
>> (_complete)
>>     from line 701 of /home/wblevins/BitBucket/scons/QMTest/TestCommon.py
>> (run)
>>     from line 390 of /home/wblevins/BitBucket/scons/QMTest/TestSCons.py
>> (run)
>>     from line 95 of test/Java/DerivedSourceTest.py
>>
>
> After making the tool update which I assume is a work-around for a bug in
> the main trunk, I still got this error.  I ran the system with python 2.7.X
> and it was fine.  Based on the output, I believe this error happens because
> scons is printing the python warning banner to STDERR.  It doesn't make
> much sense to fail a test due to the python version warning banner.  Can we
> change this or make runtest check versions and fail before running the test?
>
>
> On Sat, Jul 12, 2014 at 12:43 PM, Dirk Bächle <tshortik at gmx.de> wrote:
>
>>  On 12.07.2014 18:28, William Blevins wrote:
>>
>>  I run my test:
>>
>>
>>> STDERR
>>> =========================================================================
>>> ValueError: zero length field name in format:
>>>   File "/tmp/testcmd.12339.qe2sNH/SConstruct", line 4:
>>>     env = Environment()
>>>
>>
>> Try to get around the D tool being used, with something like
>>
>>   env = Environment(tools=['jar','javac'])
>>
>>
>>
>> And the scons call works just fine, so I am confused.  Is it a RHEL6
>> default python version issue?
>>
>>    Possible, I can't say for sure.
>>
>>
>>
>> _______________________________________________
>> Scons-dev mailing list
>> Scons-dev at scons.org
>> http://two.pairlist.net/mailman/listinfo/scons-dev
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://two.pairlist.net/pipermail/scons-dev/attachments/20140712/621d0a05/attachment.html>


More information about the Scons-dev mailing list