From 9bf78dba1a5520b3d50a8d9ac74f0c0c12e46e59 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Thu, 31 Jan 2019 20:12:57 +0000 Subject: Remove boost::filesystem in favour of std::filesystem --- libpqpp/unittests/Jamfile.jam | 10 +++++----- libpqpp/unittests/testpq.cpp | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'libpqpp/unittests') 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 : : boost_unit_test_framework ; -lib boost_filesystem ; -lib boost_system ; +lib stdc++fs ; lib dbpptestcore : : : : /usr/include/dbpp ; lib adhocutil : : : : /usr/include/adhocutil ; run testpq.cpp - : : : + : : + pqschema.sql + : ROOT=\"$(me)\" BOOST_TEST_DYN_LINK ..//dbpp-postgresql dbpptestcore adhocutil boost_utf - boost_filesystem - boost_system + 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)); } } -- cgit v1.2.3