summaryrefslogtreecommitdiff
path: root/libsqlitepp/unittests
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2015-09-25 20:35:35 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2015-09-25 20:35:35 +0100
commit16dc653918d1dde172fb3fd7cf2e07e738f87d1d (patch)
tree1a4d116a4c50c06339ade02cc5744dfa99137b91 /libsqlitepp/unittests
parentSQLite mocking and tests from Project2 (diff)
downloadlibdbpp-sqlite-16dc653918d1dde172fb3fd7cf2e07e738f87d1d.tar.bz2
libdbpp-sqlite-16dc653918d1dde172fb3fd7cf2e07e738f87d1d.tar.xz
libdbpp-sqlite-16dc653918d1dde172fb3fd7cf2e07e738f87d1d.zip
Install rules and use system dbpplibdbpp-sqlite-0.9
Diffstat (limited to 'libsqlitepp/unittests')
-rw-r--r--libsqlitepp/unittests/Jamfile.jam7
-rw-r--r--libsqlitepp/unittests/testsqlite.cpp6
2 files changed, 9 insertions, 4 deletions
diff --git a/libsqlitepp/unittests/Jamfile.jam b/libsqlitepp/unittests/Jamfile.jam
index a826f24..91afcae 100644
--- a/libsqlitepp/unittests/Jamfile.jam
+++ b/libsqlitepp/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
testsqlite.cpp
@@ -10,8 +13,10 @@ run
<define>ROOT=\"$(me)\"
<define>BOOST_TEST_DYN_LINK
<library>..//dbpp-sqlite
- <library>../../libdbpp//dbpptestcore
+ <library>dbpptestcore
<library>boost_utf
+ <library>boost_filesystem
+ <library>boost_system
:
testsqlite
;
diff --git a/libsqlitepp/unittests/testsqlite.cpp b/libsqlitepp/unittests/testsqlite.cpp
index a4b7880..6f88075 100644
--- a/libsqlitepp/unittests/testsqlite.cpp
+++ b/libsqlitepp/unittests/testsqlite.cpp
@@ -2,9 +2,9 @@
#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 <mock.h>
#include "testCore.h"
#include <boost/date_time/posix_time/posix_time.hpp>