[chirp_devel] run_test script
Jim Unroe
Sun Mar 15 11:06:57 PDT 2015
No \logs directory.
Just \images and \unit
Jim
On Sun, Mar 15, 2015 at 2:03 PM, Zach Welch <zach at mandolincreekfarm.com> wrote:
> On 03/15/2015 10:50 AM, Jim Unroe wrote:
>> On Sun, Mar 15, 2015 at 11:29 AM, Dan Smith <dsmith at danplanet.com> wrote:
>>> Hi Jim,
>>>
>>>> The run_test script no longer runs on my Windows computer.
>>>>
>>>> C:\Users\Root\chirp.hg\tests>python run_tests
>>>> Traceback (most recent call last):
>>>> File "run_tests", line 30, in <module>
>>>> os.chdir(scriptdir)
>>>> WindowsError: [Error 123] The filename, directory name, or volume label syntax i
>>>> s incorrect: ''
>>>
>>> Looks like this is related to the following change:
>>>
>>> http://chirp.danplanet.com/projects/chirp/repository/revisions/d3a3d61f1779/diff
>>>
>>> If you just undo those changes locally I think you should be able to run
>>> your tests on your patch while we wait for someone to figure out what
>>> the real problem is.
>>>
>>
>> It doesn't help. The error then becomes...
>>
>> C:\Users\Root\chirp.hg\tests>python run_tests
>> DEBUG: CHIRP 0.3.0dev on WinVista/7 (Python 2.7.3)
>> DEBUG: verbosity=50
>> Traceback (most recent call last):
>> File "run_tests", line 41, in <module>
>> logger.handle_options(LoggerOpts())
>> File "../chirp\logger.py", line 177, in handle_options
>> logger.create_log_file(options.log_file)
>> File "../chirp\logger.py", line 123, in create_log_file
>> with file(name, "w") as fh:
>> IOError: [Errno 2] No such file or directory: 'logs\\debug.log'
>
> FWIW, I was just able to reproduce the issue here on Linux. I never
> tried running 'python run_tests'; I always invoked it directly. So, I
> have a patch to fix this properly, and I'll submit it today.
>
> With this change reverted (or fixed), I do not see this second issue.
> Does the logs/ directory exist inside tests/, or did it somehow get deleted?
>
> --
> Zach Welch
> Mandolin Creek Farm
> www.mandolincreekfarm.com
> farm: 541-453-4131
> cell: 541-740-3410
> _______________________________________________
> chirp_devel mailing list
> chirp_devel at intrepid.danplanet.com
> http://intrepid.danplanet.com/mailman/listinfo/chirp_devel
> Developer docs: http://chirp.danplanet.com/projects/chirp/wiki/Developers
More information about the chirp_devel
mailing list