Re: run-tests on windows installation

From: Date: Fri, 06 Jan 2006 10:42:59 +0000
Subject: Re: run-tests on windows installation
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-22454@lists.php.net to get a copy of this message
Bonjour, Dave Thomson wrote:
I have installed php on a windows XP Pro workstation, expanded go-pear, got command line PEAR functionality and installed 'DB' package. I have Apache 1.3.33 recognizing php and a mysql server 4.1.9 running. I've tried running the included test suite for DB with little success. Windows doesn't appear to like ./ paths (or .\ either, for that matter) for the *.inc files so I replaced them with full pathnames just to see if the suite would run. This allowed me to get a PASS for the '01connect.phpt' test (which accesses MySQL and creates a couple of tables) but the '02fetch.phpt' FAILED because it was looking for a non-existent file 'droptable.inc' which is not included with the suite. if you do
[bertrand@ancilla ~]$ pear list DB you see all installed files, obviously, [bertrand@ancilla ~]$ pear list DB | grep -i droptable is empty, so droptable.inc should be a generated file, you're right now, did you read the delivered [bertrand@ancilla ~]$ less /usr/share/pear/docs/DB/doc/TESTERS ? Is your include_path right set ? DB uses php built-in run-tests, iirr, not the pear's one, so litlle knowledge from me.
Since I am totally new to php (the extent of my programming being VBA behind MS-Office 97 apps), I don't know whether this file is supposed to be created during the testing or it should have been included with the installation. Does the failure of the test suite indicate an incorrect installation of the 'DB' package or can I safely ignore it? Any assistance/comments would be greatly appreciated. Use better a proper OS :)
btw, what gives you some: [bertrand@ancilla ~]$ pear -V PEAR Version: 1.4.6 PHP Version: 4.3.11 Zend Engine Version: 1.3.0 Running on: Linux ancilla.toggg.net 2.6.12-1.1381_FC3 #1 Fri Oct 21 03:46:55 EDT 2005 i686 Bon courage ! à+ -- toggg > > > > > >

« previous php.pear.general (#22454) next »