Skip Menu |

This queue is for tickets about the Test-Harness CPAN distribution.

Report information
The Basics
Id: 28870
Status: rejected
Priority: 0/
Queue: Test-Harness

People
Owner: Nobody in particular
Requestors: gunnarstrand [...] yahoo.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Enhancement Req: change working directory to script directory
Date: Fri, 17 Aug 2007 02:32:42 -0700 (PDT)
To: bug-Test-Harness [...] rt.cpan.org
From: Gunnar Strand <gunnarstrand [...] yahoo.com>
I am running tests in sub directories from where Test::Harness is run. Some tests depends on existing files and directories, local to the test scripts. I would like Test::Harness to change the working directory to the current script when running tests to avoid having to hard code absolute paths in the test scripts. Example: runtests('subtest/test.pl', 'deepsub/sub/test.pl'); The currect working directory should be "subtest" for the first, and "deepsub/sub" for the second test. KR, Gunnar Show quoted text
__________________________________________________________ Går det långsamt? Skaffa dig en snabbare bredbandsuppkoppling. Sök och jämför hos Yahoo! Shopping. http://shopping.yahoo.se/c-100015813-bredband.html?partnerId=96914325
No way to do it at this point. It would cause far too much breakage. Sorry.