diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2015-09-25 21:20:54 +0100 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2015-09-25 21:20:54 +0100 |
commit | 88e225f1c76a74fbed83e670f394c4ebe886059a (patch) | |
tree | 52c3c198e73bfad691c4cc4d48fe6de9b575c5de /libodbcpp/unittests | |
parent | ODBC mocking and tests from Project2 (diff) | |
download | libdbpp-odbc-88e225f1c76a74fbed83e670f394c4ebe886059a.tar.bz2 libdbpp-odbc-88e225f1c76a74fbed83e670f394c4ebe886059a.tar.xz libdbpp-odbc-88e225f1c76a74fbed83e670f394c4ebe886059a.zip |
Install rules and use system dbpplibdbpp-odbc-0.9
Diffstat (limited to 'libodbcpp/unittests')
-rw-r--r-- | libodbcpp/unittests/Jamfile.jam | 7 | ||||
-rw-r--r-- | libodbcpp/unittests/testodbc.cpp | 7 |
2 files changed, 10 insertions, 4 deletions
diff --git a/libodbcpp/unittests/Jamfile.jam b/libodbcpp/unittests/Jamfile.jam index d5b1ec3..1d64f69 100644 --- a/libodbcpp/unittests/Jamfile.jam +++ b/libodbcpp/unittests/Jamfile.jam @@ -3,6 +3,9 @@ import testing ; path-constant me : . ; lib boost_utf : : <name>boost_unit_test_framework ; +lib boost_filesystem ; +lib boost_system ; +lib dbpptestcore : : : : <include>/usr/include/dbpp ; run testodbc.cpp @@ -10,8 +13,10 @@ run <define>ROOT=\"$(me)\" <define>BOOST_TEST_DYN_LINK <library>..//dbpp-odbc - <library>../../libdbpp//dbpptestcore + <library>dbpptestcore <library>boost_utf + <library>boost_filesystem + <library>boost_system : testodbc ; diff --git a/libodbcpp/unittests/testodbc.cpp b/libodbcpp/unittests/testodbc.cpp index 15e0166..301168c 100644 --- a/libodbcpp/unittests/testodbc.cpp +++ b/libodbcpp/unittests/testodbc.cpp @@ -2,9 +2,10 @@ #include <boost/test/unit_test.hpp> #include <definedDirs.h> -#include <modifycommand.h> -#include <selectcommand.h> -#include <column.h> +#include <dbpp/modifycommand.h> +#include <dbpp/selectcommand.h> +#include <dbpp/column.h> +#include <dbpp/error.h> #include <mock.h> #include <testCore.h> #include <definedDirs.h> |