Boost logo

Boost Testing :

Subject: Re: [Boost-testing] Regression repo transition, ALL testers..
From: Rene Rivera (grafikrobot_at_[hidden])
Date: 2015-01-13 10:40:55


On Tue, Jan 13, 2015 at 5:52 AM, Niklas Angare <li51ckf02_at_[hidden]>
wrote:

> "Rene Rivera" <grafikrobot_at_[hidden]> wrote:
>
>> On Sun, Dec 7, 2014 at 10:29 PM, Rene Rivera <grafikrobot_at_[hidden]>
>> wrote:
>>
>> Since I haven't heard any further problems with the new regression test
>>> scripts I would like all testers to switch to using the new regression
>>> repo. As before:
>>>
>> ...
>
>> https://raw.githubusercontent.com/boostorg/regression/develop/src/run.py
>> >.
>> I.e. it's in the develop branch not the master.
>>
>
> The new script fails with the following output on QNX 6.5.0 SP1:
> -------
> /extra/boost_regression/ARM/boost_regression_src/regression.py:438:
> Warning: 'with' will become a reserved keyword in Python 2.6
> # Running regressions in /extra/boost_regression/ARM...
> # Creating regression scripts at /extra/boost_regression/ARM/
> boost_regression_src...
> # Downloading regression scripts from https://raw.githubusercontent.
> com/boostorg/regression/develop/src...
> Traceback (most recent call last):
> File "run.py", line 70, in <module>
> from regression import runner
> File "/extra/boost_regression/ARM/boost_regression_src/regression.py",
> line 438
> with open(comment_path, 'w') as comment_file:
> ^
> SyntaxError: invalid syntax
> -------
>
> I’m using Python 2.5.2 which comes with the operating system. According to
> https://docs.python.org/2/whatsnew/2.5.html#pep-343, the 'with' statement
> is new in Python 2.5 and requires a special line to enable.
>
> The messages above go away if I add this line above the import statements:
> from __future__ import with_statement
>
> However, according to http://www.boost.org/development/running_
> regression_tests.html, only Python 2.3 is required to run the regressions
> tests so you'll need to update the page if you decide to keep using the new
> statement.
>

I will fix that so that it's Py2.3 compatible. Thanks for finding it :-)

Running run.py with "--skip-script-download", I then get this error while
> testing master:
> -------
> # Running Boost.Build tests
> # Using bjam binary in '/extra/boost_regression/x86/
> boost_bb/src/engine/bin.qnxntox86'
> # Getting test case results out of "/extra/boost_regression/x86/
> results/bjam.log"...
> boost_root: /extra/boost_regression/x86/boost_root
> locate_root: /extra/boost_regression/x86/results
> *****Warning - missing test path: boost-test(RUN) "timer/inspect"
> ["always_show_run_output"] :
> (Usually occurs when bjam doesn't know how to make a target)
> Traceback (most recent call last):
> File "run.py", line 71, in <module>
> runner(root)
> File "/extra/boost_regression/ARM/boost_regression_src/regression.py",
> line 242, in __init__
> self.main()
> File "/extra/boost_regression/ARM/boost_regression_src/regression.py",
> line 603, in main
> getattr(self,action_m)()
> File "/extra/boost_regression/ARM/boost_regression_src/regression.py",
> line 569, in command_regression
> self.command_collect_logs()
> File "/extra/boost_regression/ARM/boost_regression_src/regression.py",
> line 449, in command_collect_logs
> repo_dir = os.path.relpath(dir_root, self.regression_root)
> AttributeError: 'module' object has no attribute 'relpath'
> -------
>

Ouch.. That's a Py2.6 call. I'll have to fix that also.

And this error while subsequently testing develop in the same directory:
> -------
> # Running Boost.Build tests
> Traceback (most recent call last):
> File "run.py", line 71, in <module>
> runner(root)
> File "/extra/boost_regression/ARM/boost_regression_src/regression.py",
> line 242, in __init__
> self.main()
> File "/extra/boost_regression/ARM/boost_regression_src/regression.py",
> line 603, in main
> getattr(self,action_m)()
> File "/extra/boost_regression/ARM/boost_regression_src/regression.py",
> line 568, in command_regression
> self.command_test()
> File "/extra/boost_regression/ARM/boost_regression_src/regression.py",
> line 349, in command_test
> self.command_test_boost_build()
> File "/extra/boost_regression/ARM/boost_regression_src/regression.py",
> line 393, in command_test_boost_build
> "boost/bin.v2/libs/any/test/any_test.test"));
> OSError: [Errno 2] No such file or directory: '/extra/boost_regression/x86/
> results/boost/bin.v2/libs/any/test/any_test.test'
> -------
>

I'll see if that goes away after fixing the other errors.

-- 
-- Rene Rivera
-- Grafik - Don't Assume Anything
-- Robot Dreams - http://robot-dreams.net
-- rrivera/acm.org (msn) - grafikrobot/aim,yahoo,skype,efnet,gmail


Boost-testing list run by mbergal at meta-comm.com