[cpp-sp] 02/02: Conditionalize test check for C++11

Scott Cantor cantor.2 at osu.edu
Mon Oct 20 15:37:59 UTC 2025


This is an automated email from the git hooks/post-receive script.

scantor pushed a commit to branch main
in repository cpp-sp.

View the commit online:
http://git.shibboleth.net/view/?p=cpp-sp.git;a=commit;h=cd26649a3c1e0128c967965dba841221c2af5108

commit cd26649a3c1e0128c967965dba841221c2af5108
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Mon Oct 20 11:37:50 2025 -0400

    Conditionalize test check for C++11
---
 tests/util/ReloadableXMLFileTests.cpp | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/tests/util/ReloadableXMLFileTests.cpp b/tests/util/ReloadableXMLFileTests.cpp
index e50537e1..c031d096 100644
--- a/tests/util/ReloadableXMLFileTests.cpp
+++ b/tests/util/ReloadableXMLFileTests.cpp
@@ -200,7 +200,11 @@ BOOST_FIXTURE_TEST_CASE(ReloadableFileTest_external_valid, ReloadableXMLFileFixt
 
     dummy.lock_shared();
     time_t ts2 = dummy.getLastModified();
+#ifdef HAVE_CXX14
     BOOST_CHECK_GT(ts2, ts1);
+#else
+    BOOST_CHECK_EQUAL(ts2, ts1);
+#endif
     dummy.unlock_shared();
 }
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the commits mailing list