Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.1.1

Bug #11737 tests of functions using @DATADIR@ need to work when tests run from CVS.
Submitted: 2007-08-01 23:12 UTC
From: kguest Assigned: kguest
Status: Closed Package: Validate_IE (version CVS)
PHP Version: 5.1.6 OS: Ubuntu Linux
Roadmaps: 0.3.0    
Subscription  


 [2007-08-01 23:12 UTC] kguest (Ken Guest)
Description: ------------ When a test of a package is run from CVS the @DATADIR@ string remains in the files [because this is done during the install/package process]. This in turn means the datafile[s] can't be referenced...causing tests to fail.

Comments

 [2007-08-01 23:24 UTC] kguest (Ken Guest)
This bug has been fixed in CVS. If this was a documentation problem, the fix will appear on pear.php.net by the end of next Sunday (CET). If this was a problem with the pear.php.net website, the change should be live shortly. Otherwise, the fix will appear in the package's next release. Thank you for the report and for helping us make PEAR better. changed validate_IE_post_code.phpt to determine if the package is not installed; if not derive filenames and datadir based on the location of the .phpt file. changed postalCode method of the Validate_IE class to accept an optional datadir value.