[cpp-sp] 01/03: Suppress non-Windows tests on Windows

Rod Widdowson rdw at steadingsoftware.com
Fri Jan 10 11:40:19 UTC 2025


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

rdw 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=fd4eceeb15038c61ecac9eb9f3c119c46f6a344e

commit fd4eceeb15038c61ecac9eb9f3c119c46f6a344e
Author: Rod Widdowson <rdw at steadingsoftware.com>
AuthorDate: Fri Jan 10 11:15:57 2025 +0000

    Suppress non-Windows tests on Windows
    
    Specifically AgentConfig_init_syslog
---
 tests/AgentConfigTests.cpp | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/tests/AgentConfigTests.cpp b/tests/AgentConfigTests.cpp
index 3388f2ce..935ca095 100644
--- a/tests/AgentConfigTests.cpp
+++ b/tests/AgentConfigTests.cpp
@@ -91,11 +91,15 @@ BOOST_FIXTURE_TEST_CASE(AgentConfig_init_console, AC_Fixture)
     AgentConfig::getConfig().term();
 }
 
+#ifdef WIN32
+// TODO Window log test
+#else
 BOOST_FIXTURE_TEST_CASE(AgentConfig_init_syslog, AC_Fixture)
 {
     BOOST_CHECK(AgentConfig::getConfig().init(nullptr, (data_path + "syslog-shibboleth.ini").c_str(), true));
     AgentConfig::getConfig().term();
 }
+#endif // !WIN32
 
 BOOST_FIXTURE_TEST_CASE(AgentConfig_init_fatal_exts, AC_Fixture)
 {

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


More information about the commits mailing list