Re: One failing unit test (iconv_read) on git master on OS X

Frediano Ziglio <[email protected]>
Newsgroups gmane.comp.db.tds.freetds
Message-ID <CAHt6W4c1qM-qjpzLW9_BMA_ywwJKmg-kGvvCre6bBc9FT0+W0w@mail.gmail.com>
2013/9/14 Marc Abramowitz <[email protected]>:
> On my Mac, all the tests are passing except for one: iconv_read. I'm willing to help debug it, if I could get a little bit of guidance on where to look…
>
> I tried on an Ubuntu 10 system and I got a whole bunch of test failures, so I'll deal with those later.
>
> ```
> =================================================================
>    FreeTDS 0.92.dev.20130718: src/tds/unittests/test-suite.log
> =================================================================
>
> # TOTAL: 19
> # PASS:  18
> # SKIP:  0
> # XFAIL: 0
> # FAIL:  1
> # XPASS: 0
> # ERROR: 0
>
> .. contents:: :depth: 2
>
> FAIL: iconv_fread
> =================
>
> out 1024 bytes expected 4077
> res 0 out_len 1024
> ```
>
> iconv-related output from ./configure and link line:
>
> ```
> checking for iconv... yes
> checking how to link with libiconv... -liconv
> checking for iconv declaration...
>          extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
> …
> /bin/sh ../../libtool  --tag=CC   --mode=link gcc -D_THREAD_SAFE  -g -O2 -Wdeclaration-after-statement -version-info 5:0:0    -o libsybdb.la -rpath /Users/marca/sw/lib dblib.lo dbutil.lo rpc.lo bcp.lo xact.lo dbpivot.lo   ../tds/libtds.la ../replacements/libreplacements.la  -liconv
> ```


Enable dump to see what went wrong.

Frediano
_______________________________________________
FreeTDS mailing list
[email protected]
http://lists.ibiblio.org/mailman/listinfo/freetds
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.