Re: run-tests re-write
| From: | Pierre Joye | Date: | Thu, 16 Apr 2009 10:07:09 +0000 |
| Subject: | Re: run-tests re-write | ||
| References: | 1 2 3 4 5 | Groups: | php.qa |
| Request: | Send a blank email to php-qa+get-64769@lists.php.net to get a copy of this message | ||
On Thu, Apr 16, 2009 at 11:56 AM, Stefan Priebsch <stefan@priebsch.de> wrote:
> Hi Nuno,
>
> Nuno Lopes schrieb:
>> At least all database extensions have dependecies.
>> e.g. mysql, mysqli and pdo_mysql cannot be run at the same time.
>> the same for oci8 and pdo_oci; pgsql and pdo_pgsql
>
> Can you please elaborate on why these tests can't be run at the same
> time? Is this something that we can easily work around by setting up a
> database server when we start runtests, and keep it running until all
> tests end, plus making sure we use random names for test databases?
A typical case is when many tests use the same table/columns and
delete/insert/update contents (usually by first droping the table or
emptying the contents).
Cheers,
--
Pierre
http://blog.thepimp.net | http://www.libgd.org