[chirp_devel] CHIRP Development Process - Win32 Development Environment
All,
I had a little trouble working my way through the Testing section of the CHIRP Development Process guide. This is what I had to do to proceed. I hope that this helps someone else.
The guide shows the commands...
% cd tests % ./run_tests
This should look like the following for the Win32 environment.
C:\Users{yourusernamehere}\chirp.hg> cd tests C:\Users{yourusernamehere}\chirp.hg\tests> python run_tests
This runs but results in the following error...
IOError: [Errno 2] No such file or directory: 'logs/verbose'
The solution to this error is to create a directory under tests called "logs".
C:\Users\Root\chirp.hg\tests> mkdir logs
Jim
This should look like the following for the Win32 environment.
C:\Users\{yourusernamehere}\chirp.hg> cd tests C:\Users\{yourusernamehere}\chirp.hg\tests> python run_tests
Ah, good call. I made a note on the wiki page there. See if you think that's enough.
This runs but results in the following error...
IOError: [Errno 2] No such file or directory: 'logs/verbose'
The solution to this error is to create a directory under tests called "logs".
C:\Users\Root\chirp.hg\tests> mkdir logs
Ah, thanks for catching this. The tests are supposed to create the logs directory before needing them, but I see that the verbose log doesn't. I just pushed a change to fix this, which should make it unnecessary to manually create the directory ahead of time.
Thanks!
On Tue, Jan 1, 2013 at 12:25 PM, Dan Smith dsmith@danplanet.com wrote:
This should look like the following for the Win32 environment.
C:\Users\{yourusernamehere}\chirp.hg> cd tests C:\Users\{yourusernamehere}\chirp.hg\tests> python run_tests
Ah, good call. I made a note on the wiki page there. See if you think that's enough.
Close. It should show the user being located in the 'tests' folder.
Jim
participants (2)
-
Dan Smith
-
Jim Unroe