summaryrefslogtreecommitdiff
path: root/test/Jamfile.jam
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2025-08-23 15:34:51 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2025-08-25 16:01:17 +0100
commitd0fe9fe6c613ec8894ca4b1d330e7847845a4710 (patch)
tree60abb970345fcb9e8808c7aee3134bd976775071 /test/Jamfile.jam
parentfaff88728dc925a08515f96236cab62bb70110e5 (diff)
downloadwebstat-d0fe9fe6c613ec8894ca4b1d330e7847845a4710.tar.bz2
webstat-d0fe9fe6c613ec8894ca4b1d330e7847845a4710.tar.xz
webstat-d0fe9fe6c613ec8894ca4b1d330e7847845a4710.zip
Add DB schema and setup a mock of it in testing
Diffstat (limited to 'test/Jamfile.jam')
-rw-r--r--test/Jamfile.jam6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/Jamfile.jam b/test/Jamfile.jam
index a008606..8460cef 100644
--- a/test/Jamfile.jam
+++ b/test/Jamfile.jam
@@ -1,14 +1,20 @@
lib boost_unit_test_framework : : <link>shared ;
+lib dbpptestcore : : <link>shared ;
+lib stdc++fs ;
path-constant src : ../src ;
path-constant test : . ;
run test-ingest.cpp :
-- :
+ ../src/schema.sql
:
<define>BOOST_TEST_DYN_LINK
<define>SRC=\"$(src)\"
<define>TEST=\"$(test)\"
<library>$(src)//webstat
+ <library>..//dbpp-postgresql
<library>boost_unit_test_framework
+ <library>dbpptestcore
+ <library>stdc++fs
;