Project

General

Profile

Actions

Bug #5237

closed

Use tox for running tests

Added by Dan Smith over 6 years ago. Updated almost 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Target version:
-
Start date:
10/11/2017
Due date:
% Done:

0%

Estimated time:
Chirp Version:
daily
Model affected:
(All models)
Platform:
Windows
Debug Log:
I read the instructions above:
Actions #1

Updated by train line over 6 years ago

(deleted - spam)

Actions #2

Updated by Jim Unroe over 6 years ago

This has broken "run_all_tests.bat" for developers using Windows. It calls "run_tests" in the "tests" folder and fails with the following error:

C:\Users\Root\chirp.hg>run_all_tests
  File "tests\run_tests", line 3
    exec python $(readlink -f $0).py $*
                ^
SyntaxError: invalid syntax

If I change line 3 in "run_all_tests.bat" to "python tests\run_tests.py" then the tests run as expected. Another solution for me is to execute "python tests\run_tests.py".

Maybe there needs to be a "tox.bat" file created for developers using Windows?

Jim KC9HI

Actions #3

Updated by Bernhard Hailer almost 4 years ago

  • Status changed from In Progress to Closed
  • Chirp Version changed from 0.4.0 to daily

This appears to be complete.

Actions

Also available in: Atom PDF