summaryrefslogtreecommitdiff
path: root/libpqpp/unittests
diff options
context:
space:
mode:
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));
}
}