mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-24 17:30:44 +02:00
Diagnostics fix and Linux test fixes
This commit is contained in:
@@ -847,7 +847,8 @@ bool ODBCSQLServerTest::canConnect(const std::string& driver, const std::string&
|
||||
"UID=test;"
|
||||
"PWD=test;"
|
||||
"DATABASE=test;"
|
||||
"SERVER=(local);", driver);
|
||||
"SERVER=localhost;"
|
||||
"PORT=1433;", driver);
|
||||
|
||||
return true;
|
||||
}
|
||||
@@ -891,7 +892,11 @@ bool ODBCSQLServerTest::init(const std::string& driver, const std::string& dsn)
|
||||
|
||||
CppUnit::Test* ODBCSQLServerTest::suite()
|
||||
{
|
||||
#ifdef POCO_OS_FAMILY_WINDOWS
|
||||
if (init("SQL Server", "PocoDataSQLServerTest"))
|
||||
#else
|
||||
if (init("FreeTDS", "PocoDataSQLServerTest"))
|
||||
#endif
|
||||
{
|
||||
CppUnit::TestSuite* pSuite = new CppUnit::TestSuite("ODBCSQLServerTest");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user