Kent Boortz | 7 Jun 2007 09:52
Picon
Favicon

Patches to get TAP testing to work


Hi,

Some patches I have applied to get the tests running, using TAP
output. Some might just apply to my setup, just included for
completeness. Note that I run the tests in CVS against the current
MySQL v3 driver and unixODBC 2.2.12.

  tests/tst.pl

     As test cases output trace information, this mixes with the TAP
     lines making it hard to parse. I just let the tap output start
     with a newline, but would be better to make all output unbuffered
     maybe.

  tests/v3/conformance/Other/ins1/ins1.c
  tests/v3/conformance/Other/lgetdata/lgetdata.c
  tests/v3/conformance/Other/lonchar2/lonchar2.c

     FreeBSD doesn't like the use of #include <malloc.h>,
     suggests in error message to use #include <stdlib.h>

  tests/v3/conformance/Core/AllocHandle-DBC/AllocHandle-DBC.pro
  tests/v3/conformance/Core/AllocHandle-ENV/AllocHandle-ENV.pro

     Could not reach all headers included, added "../../../../common"

  tests/v3/conformance/Other/getset/getset.c

     Moved last declaration before first statement.
(Continue reading)

Nick Gorham | 12 Jun 2007 13:47
Favicon

Re: Patches to get TAP testing to work

Kent Boortz wrote:

>Hi,
>
>Some patches I have applied to get the tests running, using TAP
>output. Some might just apply to my setup, just included for
>completeness. Note that I run the tests in CVS against the current
>MySQL v3 driver and unixODBC 2.2.12.
>
>  
>
Hi,

Are you sure you have run these against unixODBC's CVS, I just checked, 
and tst.pl doesn't seem to match.

Also, it would make my life a lot simpiler if they were context diffs.

--

-- 
Nick Gorham
Easysoft Limited
http://www.easysoft.com, http://www.unixODBC.org

_______________________________________________
unixODBC-dev mailing list
unixODBC-dev <at> easysoft.com
http://mail.easysoft.com/mailman/listinfo/unixodbc-dev

Kent Boortz | 13 Jun 2007 02:58
Picon
Favicon

Re: Patches to get TAP testing to work


Nick Gorham <nick.gorham <at> easysoft.com> writes:
> Are you sure you have run these against unixODBC's CVS, I just checked, 
> and tst.pl doesn't seem to match.

Yes, it is the CVS tree, and could not be that old, and isn't
"retrieving revision 1.11" giving a pretty clear hint of what version
I'm using of "tst.pl"? In my tree even after an update, that is the
latest version.

> Also, it would make my life a lot simpiler if they were context diffs.

The first one that is just a few lines was not, sorry. The two other
patch files are context diffs,

kent

--

-- 
Kent Boortz, Senior Production Engineer
MySQL AB, www.mysql.com
Office: +46 18 174400 ext. 4450 (VoIP)
Office: +46 19 182931
Mobile: +46 70 2791171
_______________________________________________
unixODBC-dev mailing list
unixODBC-dev <at> easysoft.com
http://mail.easysoft.com/mailman/listinfo/unixodbc-dev


Gmane