RE: [PEAR-DEV] MDB API

From: Date: Fri, 21 Jun 2002 05:28:15 +0000
Subject: RE: [PEAR-DEV] MDB API
References: 1 2  Groups: php.pear.dev php.pear.general 
Request: Send a blank email to pear-dev+get-7256@lists.php.net to get a copy of this message
On Thu, 2002-06-20 at 19:54, Tomas V.V.Cox wrote: > El jue, 20-06-2002 a las 16:40, Lukas Smith escribió: > > Hi, > > > > > How about some usage examples, tutorials, "getting started" stuff and > > > the like? > > > > "Since the pear installer currently neither installs test script nor > > documentation you can either grab those files from the pear cvs or from > > the following URL: www.dybnet.de/MDB" > > > > The PEAR installer do install both test and docs. The docs gets > installed under doc_dir (pear config-show doc_dir) and the tests under > test_dir (use the "pear config-set <var> <value>" to set the path's > you > want). > > There are multiple problems with the tests dir destination, plus the > fact that you need the "run-tests.php" file extracted from the sources > of your php distribution. I'm talking about PHP tests, for the other > type of tests that probably doesn't apply. > > For example the PEAR DB tests can be launched by "pear download DB; tar > xvfz DB-*tgz; pear run-tests DB/tests". I suspect that the MDB tests are > already in php format, so just installing the package, going to the > tests dir and executing them would work. Running tests should "work" (pear run-tests /usr/share/pear/tests/DB). However, this introduces Yet Another include_path problem. It seems that packages should mirror their install-tree structure inside the package cvs directory, so we can simply set include_path while testing and be done with it. - Stig -- Stig Sæther Bakken, Fast Search & Transfer ASA, Trondheim, Norway http://pear.php.net/wishlist.php/ssb

« previous php.pear.dev (#7256) next »