From 3d6c2f43932bf8930ea0b1a53f6ebe048c7803bc Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Mon, 25 Aug 2025 15:18:41 +0100 Subject: Move common test code to its own library --- test/Jamfile.jam | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) (limited to 'test/Jamfile.jam') diff --git a/test/Jamfile.jam b/test/Jamfile.jam index 8460cef..0741a65 100644 --- a/test/Jamfile.jam +++ b/test/Jamfile.jam @@ -5,14 +5,24 @@ lib stdc++fs ; path-constant src : ../src ; path-constant test : . ; +project WebStat-Testing : requirements + SRC=\"$(src)\" + TEST=\"$(test)\" + $(src)//webstat + ; + +lib test-util : + test-util.cpp + : + ..//dbpp-postgresql + ; + run test-ingest.cpp : -- : ../src/schema.sql : BOOST_TEST_DYN_LINK - SRC=\"$(src)\" - TEST=\"$(test)\" - $(src)//webstat + test-util ..//dbpp-postgresql boost_unit_test_framework dbpptestcore -- cgit v1.2.3