summaryrefslogtreecommitdiff
path: root/libpqpp/unittests
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2019-01-31 20:12:57 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2019-02-03 19:02:43 +0000
commit9bf78dba1a5520b3d50a8d9ac74f0c0c12e46e59 (patch)
treecb046d5faf68ca86c4e9c49245abdcccd01940f8 /libpqpp/unittests
parentSwitch to structured binding interface (diff)
downloadlibdbpp-postgresql-9bf78dba1a5520b3d50a8d9ac74f0c0c12e46e59.tar.bz2
libdbpp-postgresql-9bf78dba1a5520b3d50a8d9ac74f0c0c12e46e59.tar.xz
libdbpp-postgresql-9bf78dba1a5520b3d50a8d9ac74f0c0c12e46e59.zip
Remove boost::filesystem in favour of std::filesystem
Diffstat (limited to 'libpqpp/unittests')
-rw-r--r--libpqpp/unittests/Jamfile.jam10
-rw-r--r--libpqpp/unittests/testpq.cpp2
2 files changed, 6 insertions, 6 deletions
diff --git a/libpqpp/unittests/Jamfile.jam b/libpqpp/unittests/Jamfile.jam
index 85abb80..577b70c 100644
--- a/libpqpp/unittests/Jamfile.jam
+++ b/libpqpp/unittests/Jamfile.jam
@@ -3,22 +3,22 @@ import testing ;
path-constant me : . ;
lib boost_utf : : <name>boost_unit_test_framework ;
-lib boost_filesystem ;
-lib boost_system ;
+lib stdc++fs ;
lib dbpptestcore : : : : <include>/usr/include/dbpp ;
lib adhocutil : : : : <include>/usr/include/adhocutil ;
run
testpq.cpp
- : : :
+ : :
+ pqschema.sql
+ :
<define>ROOT=\"$(me)\"
<define>BOOST_TEST_DYN_LINK
<library>..//dbpp-postgresql
<library>dbpptestcore
<library>adhocutil
<library>boost_utf
- <library>boost_filesystem
- <library>boost_system
+ <library>stdc++fs
:
testpq
;
diff --git a/libpqpp/unittests/testpq.cpp b/libpqpp/unittests/testpq.cpp
index 4f36ae7..954366a 100644
--- a/libpqpp/unittests/testpq.cpp
+++ b/libpqpp/unittests/testpq.cpp
@@ -152,7 +152,7 @@ BOOST_AUTO_TEST_CASE( testP2MockScriptDir )
while (select->fetch()) {
std::string path;
(*select)[0] >> path;
- BOOST_REQUIRE(boost::filesystem::exists(path));
+ BOOST_REQUIRE(std::filesystem::exists(path));
}
}