Permalink
Browse files

Print Firebird tests heading

  • Loading branch information...
mloskot committed Feb 16, 2013
1 parent 601d4f8 commit ca11312a83c0fa820039c1a5bd79b6b3e7bfdab3
Showing with 6 additions and 9 deletions.
  1. +6 −9 src/backends/firebird/test/test-firebird.cpp
@@ -1189,14 +1189,11 @@ int main(int argc, char** argv)
}
else
{
std::ostringstream msg;
msg << "usage: " << argv[0]
<< " connectstring\n"
<< "example: " << argv[0]
<< " \"service=/usr/local/firebird/db/test.fdb user=SYSDBA password=masterkey\"\n";
std::cout << msg.str().c_str();
std::exit(1);
std::cout << "usage: " << argv[0]
<< " connectstring\n"
<< "example: " << argv[0]
<< " \"service=/usr/local/firebird/db/test.fdb user=SYSDBA password=masterkey\"\n";
return EXIT_FAILURE;
}
try
@@ -1205,6 +1202,7 @@ int main(int argc, char** argv)
tests::common_tests tests(tc);
tests.run();
std::cout << "\nSOCI Firebird Tests:\n\n";
test1();
test2();
test3();
@@ -1226,6 +1224,5 @@ int main(int argc, char** argv)
{
std::cout << e.what() << '\n';
}
return EXIT_FAILURE;
}

0 comments on commit ca11312

Please sign in to comment.