default for TEXTTEST_CHECKOUT should be current working directory

Bug #1297116 reported by Emily Bache
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
TextTest
Fix Released
Undecided
Unassigned

Bug Description

This is not so much a bug as a feature request. If you start TextTest without specifying a checkout, or if the checkout set in the config file is a "short name" that isn't defined anywhere, TextTest fails with an error message along the lines of:

Rejected Application myapp - could not create absolute checkout from relative path 'myapp'

In this case, I would like TextTest to use the current working directory. This would be helpful for people who keep their tests in the same checkout as the code it is testing. They wouldn't necessarily need to have a personal config file where "short name" is associated with an absolute path - they could just start texttest from within the checkout and have it run the tests from there.

Otherwise, I have to tell people to start texttest like this:

cd myapp
texttest.py -c $PWD

This works, but it would be more convenient to start it with no arguments.

Revision history for this message
Geoff Bache (geoff.bache) wrote :

Checked in a fix for this. Can make a pre-release on request if you're keen to try it out.

Changed in texttest:
status: New → Fix Committed
Changed in texttest:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.