Skip to content

Commit

Permalink
Disable ODBC tests for MS Access and MS SQL Server on non-Windows sys…
Browse files Browse the repository at this point in the history
…tems due to ununusable mdbtools and lack of SQL Server access.
  • Loading branch information
mloskot committed Feb 13, 2013
1 parent 610de78 commit 3f2aac9
Showing 1 changed file with 14 additions and 10 deletions.
24 changes: 14 additions & 10 deletions src/backends/odbc/test/CMakeLists.txt
@@ -1,14 +1,18 @@
soci_backend_test(
NAME access
BACKEND ODBC
SOURCE test-odbc-access.cpp
CONNSTR "test-access.dsn")
if (WIN32)
# MDBTools driver seems unreliable
soci_backend_test(
NAME access
BACKEND ODBC
SOURCE test-odbc-access.cpp
CONNSTR "test-access.dsn")

soci_backend_test(
NAME mssql
BACKEND ODBC
SOURCE test-odbc-mssql.cpp
CONNSTR "test-mssql.dsn")
# We have no means to test SQL Server at travis-ci.org
soci_backend_test(
NAME mssql
BACKEND ODBC
SOURCE test-odbc-mssql.cpp
CONNSTR "test-mssql.dsn")
endif()

soci_backend_test(
NAME mysql
Expand Down

0 comments on commit 3f2aac9

Please sign in to comment.