fixed ODBC testsuite driver

This commit is contained in:
Guenter Obiltschnig
2016-03-04 12:26:24 +01:00
parent 24a08d8400
commit 4da3f6e645

View File

@@ -1,7 +1,7 @@
// //
// Driver.cpp // Driver.cpp
// //
// $Id: //poco/Main/Data/ODBC/testsuite/src/Driver.cpp#2 $ // $Id: //poco/1.7/Data/ODBC/testsuite/src/Driver.cpp#3 $
// //
// Console-based test driver for Poco SQLite. // Console-based test driver for Poco SQLite.
// //
@@ -25,6 +25,6 @@ int main(int ac, char **av)
for (int i = 0; i < ac; ++i) for (int i = 0; i < ac; ++i)
args.push_back(std::string(av[i])); args.push_back(std::string(av[i]));
CppUnit::TestRunner runner; CppUnit::TestRunner runner;
runner.addTest(#testCase, testCase::suite()); runner.addTest("ODBCTestSuite", ODBCTestSuite::suite());
return runner.run(args) ? 0 : 1; return runner.run(args) ? 0 : 1;
} }