summaryrefslogtreecommitdiff
path: root/test/src/common.c
AgeCommit message (Collapse)Author
2023-06-23Bug fix: SQLColAttribute returns wrong column name - In some circumstances ↵Adrian Grucza
it was returning a name from the previous result
2021-05-26The commit 2e67af added a new ansi test dsn psqlodbc_test_dsn_ansi_debug. So ↵Hiroshi Inoue
change the way how to determine ansi test driver.
2019-12-16Flush stdout before exiting.Hiroshi Inoue
2017-04-20Fix a crash bug introduced by the previous commit.Hiroshi Inoue
2017-04-20Add an environment variable which defines a common connection string for ↵Hiroshi Inoue
regression test. Switch declare/fetch mode in Windows regression test using this functionality.
2017-04-02Rename the dsn for ANSI regression test from psqlodbc_test_dsna to ↵Hiroshi Inoue
psqlodbc_test_dsn_ansi.
2017-03-21Fix ansi version result-conversions-test on Windows.Hiroshi Inoue
2017-03-20The 1st cut to add regression test for Windows Ansi drivers.Hiroshi Inoue
2016-07-29Fix a regression test failure in catalogfunctions-test. SQLTablePrivileges ↵Hiroshi Inoue
test case produces 5 * (1 + count of super users other than current user) lines. Limiting the output to the first 5 lines fixes the result anyway.
2015-01-27Use a larger buffer for error message.Heikki Linnakangas
This allows us to get a large NOTICE message. The driver limitation that the comment in notice-test.c talks about has been lifted, remove comment.
2015-01-23Correctly set returned value to an empty string in "cvt_null_date" mode.Heikki Linnakangas
Spotted by clang compiler warning. Also add test case for this.
2015-01-21Improve print_diag() regression test helper to print all diagnostic records.Heikki Linnakangas
Previously, it only printed the first record. This is academic at the moment, as the driver never reports more than one record AFAICS, but let's be prepared.
2014-11-26Add more test cases.Heikki Linnakangas
This adds coverage for SQLConnect, SQLRowCount, and moving a cursor with SQLFetchScroll, and for bookmarks.
2014-06-11Silence compiler warnings from regression tests.Heikki Linnakangas
Three categories of warnings: 1. Missing return at end of main() function 2. Unused variables (copy-pasted from another test) 3. Data type mismatch in printfs, e.g. passing SQLULEN param to %d
2014-04-10Print a better error message in regression tests on an invalid handle.Heikki Linnakangas
Has no effect at the moment, but I've seen it happen during development of new regression tests, when I've passed an invalid handle to print_diag by accident.
2014-03-24Avoid deprecated SQLAllocStmt/SQLFreeStmt in regression tests.Heikki Linnakangas
The deprecated functions have a test case of their own. Michael Paquier
2014-03-20Add a new test case to test ODBC functions deprecated in ODBC 3.0Heikki Linnakangas
Michael Paquier
2014-03-18Add more test cases for ODBC catalog functions.Heikki Linnakangas
Michael Paquier
2014-03-11Whitespace and indentation fixes.Heikki Linnakangas
This also changed the file permissions stored in git for a couple of header files, removing the executable bit. Didn't realize they were different from all the others, but apparently my editor decided to change them. Now they're the same as all the other files, which seems good. Michael Paquier and me.
2013-09-02Add test case for SQLDescribeParamHeikki Linnakangas
2013-04-24Add regression test suite.Heikki Linnakangas
Two tests are currently failing, because they hit a real bug in the driver. After the bug is fixed, the tests should pass. This doesn't work on Windows yet.