summaryrefslogtreecommitdiff
path: root/libpqpp/unittests
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2015-09-25 20:05:18 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2015-09-25 20:05:18 +0100
commite5bc15f20deb8cba1e79b324a3056ec9e7ecefdc (patch)
tree071f56710c44ce6bb2208d0eedcaf960608c58f9 /libpqpp/unittests
parentInstall rules (diff)
downloadlibdbpp-postgresql-e5bc15f20deb8cba1e79b324a3056ec9e7ecefdc.tar.bz2
libdbpp-postgresql-e5bc15f20deb8cba1e79b324a3056ec9e7ecefdc.tar.xz
libdbpp-postgresql-e5bc15f20deb8cba1e79b324a3056ec9e7ecefdc.zip
Use system dbpplibdbpp-postgresql-0.9
Diffstat (limited to 'libpqpp/unittests')
-rw-r--r--libpqpp/unittests/Jamfile.jam7
-rw-r--r--libpqpp/unittests/testpq.cpp6
2 files changed, 9 insertions, 4 deletions
diff --git a/libpqpp/unittests/Jamfile.jam b/libpqpp/unittests/Jamfile.jam
index 39d0576..66c4b49 100644
--- a/libpqpp/unittests/Jamfile.jam
+++ b/libpqpp/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
testpq.cpp
@@ -10,8 +13,10 @@ run
<define>ROOT=\"$(me)\"
<define>BOOST_TEST_DYN_LINK
<library>..//dbpp-postgresql
- <library>../../libdbpp//dbpptestcore
+ <library>dbpptestcore
<library>boost_utf
+ <library>boost_filesystem
+ <library>boost_system
:
testpq
;
diff --git a/libpqpp/unittests/testpq.cpp b/libpqpp/unittests/testpq.cpp
index 58441d2..3942cfd 100644
--- a/libpqpp/unittests/testpq.cpp
+++ b/libpqpp/unittests/testpq.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 <fstream>