Re: run-tests on windows installation

From: Date: Sun, 08 Jan 2006 16:51:14 +0000
Subject: Re: run-tests on windows installation
References: 1 2  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-22474@lists.php.net to get a copy of this message
Thank you for the comments, I had checked .../pear/docs/DB/doc/TESTERS but ignored it since I don't have a Cygwin environment installed and have never used an X-nix OS (or CVS). I was trying to run the tests using the 'pear run-tests' command in a DOS window. I beleive I eliminated the influence of 'Include_Path' setting by replacing './*.inc' references with full pathnames each time a test failed because of 'missing' *.inc files. What killed my progress was the total absence of the 'droptable.inc' file anywhere under my C:\php... directory structure. At this point I've concluded that getting the tests to run would be a diversion for which I am ill-prepared. "bertrand Gugger" <bertrand@toggg.com> wrote in message news:43BE49B3.3080302@toggg.com... > 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 (#22474) next »