summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Jamroot.jam1
-rw-r--r--libdbpp/createMockDb.cpp1
m---------libdbpp/unittests/libdbpp-mysql0
m---------libdbpp/unittests/libdbpp-postgresql0
4 files changed, 2 insertions, 0 deletions
diff --git a/Jamroot.jam b/Jamroot.jam
index a04d148..ac02597 100644
--- a/Jamroot.jam
+++ b/Jamroot.jam
@@ -31,6 +31,7 @@ project
<toolset>gcc,<variant>debug:<cflags>-Wlogical-op
<toolset>gcc,<variant>debug:<cflags>-Wuseless-cast
<variant>coverage:<coverage>on
+ <toolset>tidy:<enable>all
<toolset>tidy:<checkxx>boost-*
<toolset>tidy:<checkxx>bugprone-*
<toolset>tidy:<xcheckxx>bugprone-easily-swappable-parameters
diff --git a/libdbpp/createMockDb.cpp b/libdbpp/createMockDb.cpp
index aa47fba..19d8623 100644
--- a/libdbpp/createMockDb.cpp
+++ b/libdbpp/createMockDb.cpp
@@ -73,6 +73,7 @@ main(int argc, char ** argv)
std::cout << " done." << std::endl;
std::set_terminate(nullptr);
+ // cppcheck-suppress knownConditionTrueFalse
if (!drop) {
std::cout << "Done. ctrl+c to tear down and exit." << std::endl;
signal(SIGINT, &emptyHandler);
diff --git a/libdbpp/unittests/libdbpp-mysql b/libdbpp/unittests/libdbpp-mysql
-Subproject aae2742b9dbc2a5908459372d75e11a0fdec5cb
+Subproject f40e3690b8e8d43a48f5ec3cec0179fda7fc988
diff --git a/libdbpp/unittests/libdbpp-postgresql b/libdbpp/unittests/libdbpp-postgresql
-Subproject 354bb1630c5ae72d298a7ce13c1118106bfaf7b
+Subproject bf628321e51263db33cbee5beb78e2cacaa9ea3