[chirp_devel] run_test script

Jim Unroe
Sun Mar 15 10:50:08 PDT 2015


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'



Jim



More information about the chirp_devel mailing list