Hello,

Now it works.

http://joaohff.pbwiki.com/f/tests-libdbi-cgreen.tar.gz

I fix the problem about segment faults and mysql.

Thanks

On Tue, Jun 3, 2008 at 6:58 PM, João Henrique Freitas <[EMAIL PROTECTED]> wrote:
> Hello
>
> On Tue, Jun 3, 2008 at 4:50 PM, Markus Hoenicka
> <[EMAIL PROTECTED]> wrote:
>> Hi,
>>
>> I ran a few tests with the files you provided. The stuff now builds
>> without problems, although the tests/cgreen subdirectory still needs
>> to be integrated into the build system so we don't have to make it
>> separately.
>
> Ok
>
>>
>> Unfortunately the tests bomb out on my system regardless of the driver
>> I use. The old test system runs ok with all drivers that I can test
>> (mysql, pgsql, sqlite, sqlite3, firebird), but your test system
>> claims that three drivers are broken, while two pass without
>> completing a single test:
>>
>> mysql: 0 passes, 0 failures, 7 exceptions (this means the test
>>       *succeeds* ??)
>> pgsql: 10 passes, 3 failures, 0 exceptions
>> sqlite: 7 passes, 3 failures, 1 exception
>> sqlite3: 7 passes, 3 failures, 1 exception
>> firebird: 0 passes, 0 failures, 7 exceptions
>>
>
> One clarifications is necessary:
>  - For every tests, cgreen setup and teardown aenvironment to run the
> test. Example:
>   to execute the test test_dbi_conn_quote_binary_copy() on file
> test_dbi_cgreen_managing_queries.c, cgreen execute the
> create_schema(), execute the test and drop_schema().
>  - Yes, all the tests need a environment to run. See functions like:
> open_driver, close_driver, create_schema() and drop_schema(). With
> this, the system can be slow for few seconds. But the tests is granted
> to be successfully and truly
>  - exceptions is a problem in the tests, and need be investigated.
>
>
> We have:
>  Libdbi test suite:
>      Before and after any test group tests run, setup and teardown is call
>                 Database infrastructure tests
>                       Before and after any tests run, setup and
> teardown is call
>                 Managing Queries
>                       Before and after any tests run, setup and
> teardown is call
>                 .... ( any other group of tests ) ...
>
> The tests can be spited by any logic (database specific functions? or
> other groups)  and single tests can be run alone too.
>
> Currently, I have a problem with mysql driver and now firebird.
> Because all the tests exit with segment fault. Why others drivers not?
>
>> I have to admit that the old test system fails to check a couple of
>> things, e.g. you'll have to compare the input and output values of the
>> retrieval tests manually to spot errors. The failures of your test
>> system may actually find some of these problems and thus report more
>> errors.
>>
>
> I will migrate the old system to cgreen. And we will have a integrated
> framework to tests many drivers in every platform at sometime :).
>
>> I'd still appreciate if we could get this to work, but I'm afraid
>> we're not there yet.
>>
>
> Working on it...
>
> Thanks
>
>> regards,
>> Markus
>>
>> João Henrique Freitas writes:
>>  > Hello,
>>  >
>>  > I am working in the improvements of libdbi tests and need of your
>>  > opinion about the files attached.
>>
>> --
>> Markus Hoenicka
>> [EMAIL PROTECTED]
>> (Spam-protected email: replace the quadrupeds with "mhoenicka")
>> http://www.mhoenicka.de
>>
>
>
>
> --
> -----------------------------------------------------------
> João Henrique Freitas - joaohf_at_gmail.com
> Campinas-SP-Brasil
> BSD051283
> LPI 1
> http://joaohf.pbwiki.com
> http://www.livejournal.com/users/joaohf/
>



-- 
-----------------------------------------------------------
João Henrique Freitas - joaohf_at_gmail.com
Campinas-SP-Brasil
BSD051283
LPI 1
http://joaohf.pbwiki.com
http://www.livejournal.com/users/joaohf/
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
libdbi-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libdbi-devel

Reply via email to