Please take our Survey
logo       

Choosing A Webhost:
A web hosting service is a type of Internet hosting service that allows individuals and organizations to provide their own website accessible via the World Wide Web. Web hosts are companies that provide space on a server they own for use by their clients as well as providing Internet connectivity, typically in a data center. Web hosts can also provide data center space and connectivity to the Internet for servers they do not own to be located in their data center, called colocation. more...

RE: Are unittests expected to fail?: msg#00179

db.tds.freetds

Subject: RE: Are unittests expected to fail?

>
> Hi folks,
>
> I was going to submit a patch for something, but I thought
> I'd give the unittests a blast and they failed. Or more
> likely I failed to configure them correctly. I have never
> tried using them before.
>
> I then re-tried with a completely clean unmodified checkout
> from CVS. Same result:
> - 2 failures out of 13 for TDS tests
> - 6 failures out of 20 for ODBC tests using UnixODBC.
> - 14 failures out of 20 for ODBC tests using iODBC.
>
> So before I resort to debugging to find out if I've done
> anything wrong, I'd like to know if this is known "normal" behaviour:
> - i.e. are the tests buggy/out-of-date/misleading and should
> I just ignore these failures?
>
> Otherwise, are there detailed instructions for how to run the
> unit tests anywhere?
> - so far I've configured PWD.in
> - granted suitable database rights to the user given in PWD.in
> - run "make check" from the top level and also from
> src/odbc.
>
> In case this is abnormal behaviour, I have attached 2 files.
> One is the
> output from running the TDS tests. The other is the output
> from the ODBC tests (when using unixODBC).
>
> Anyone care to shed any light or got any ideas to help me
> fix my setup? Are there known gotchas?
>
> Thanks a lot,
>
> David
>

You are using TDS 4.2. Try with an higher TDS version. Usually I try
with unixODBC. Current results (TDS5+, unixODBC) should be

- with GNU iconv + single-byte
- TDS 0 fails
- CTLib 1 fail (lang_ct_param using mssql, 0 under Sybase)
- dblib 0 fail
- ODBC 3 fails (type, transaction, putdata on mssql/another on Sybase)
- other iconv and/or multiple-byte (like UTF-8)
- TDS 0 fails
- CTLib 3 fails (t0009, lang_ct_param only using mssql, get_send_data)
- dblib 2 fails (t0016, t0023 with core)
- ODBC 4 fails (putdata, params, transaction, type)

I don't understand why 14 tests fail with iODBC....

freddy77


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
hardware.arm.at...    cms.citadel.dev...    video.gstreamer...    java.facelets.u...    misc.basics.qna...    web.wiki.instik...    network.uip.use...    xdg.devel/2003-...    tex.bibtex.bibd...    finance.quotesp...    ietf.zeroconf/2...    redhat.blinux.g...    suse.db2/2003-0...    php.phpesp/2004...    uml.devel/2003-...    gnome.labyrinth...    qnx.openqnx.dev...    boot-loaders.gr...    db.dataperfect....    audio.audacity....    linux.uclinux.m...    editors.j.devel...    os.openbsd.tech...    kde.users.multi...   
Home | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe

Navigation