Skip to content

Commit

Permalink
gha
Browse files Browse the repository at this point in the history
  • Loading branch information
zajo committed Dec 10, 2023
1 parent 69ff08d commit bda3f5f
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions test/diagnostic_info_test2.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ int main()
st << di;
std::string s = st.str();
std::cout << s << std::endl;
if( BOOST_LEAF_CFG_DIAGNOSTICS )
if( BOOST_LEAF_CFG_DIAGNOSTICS && BOOST_LEAF_CFG_CAPTURE )
BOOST_TEST_NE(s.find("info<2>"), s.npos);
#endif
} );
Expand Down Expand Up @@ -95,7 +95,7 @@ int main()
st << di;
std::string s = st.str();
std::cout << s << std::endl;
if( BOOST_LEAF_CFG_DIAGNOSTICS )
if( BOOST_LEAF_CFG_DIAGNOSTICS && BOOST_LEAF_CFG_CAPTURE )
BOOST_TEST_NE(s.find("info<2>"), s.npos);
#endif
} );
Expand Down Expand Up @@ -131,7 +131,7 @@ int main()
st << di;
std::string s = st.str();
std::cout << s << std::endl;
if( BOOST_LEAF_CFG_DIAGNOSTICS )
if( BOOST_LEAF_CFG_DIAGNOSTICS && BOOST_LEAF_CFG_CAPTURE )
BOOST_TEST_NE(s.find("info<2>"), s.npos);
#endif
} );
Expand Down
2 changes: 1 addition & 1 deletion test/diagnostic_info_test3.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ int main()
st << di;
std::string s = st.str();
std::cout << s << std::endl;
if( BOOST_LEAF_CFG_DIAGNOSTICS )
if( BOOST_LEAF_CFG_DIAGNOSTICS && BOOST_LEAF_CFG_CAPTURE )
{
BOOST_TEST_NE(s.find("41"), s.npos);
BOOST_TEST_EQ(s.find("42"), s.npos);
Expand Down
2 changes: 1 addition & 1 deletion test/diagnostic_info_test4.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ int main()
st << e;
std::string s = st.str();
std::cout << s << std::endl;
if( BOOST_LEAF_CFG_DIAGNOSTICS )
if( BOOST_LEAF_CFG_DIAGNOSTICS && BOOST_LEAF_CFG_CAPTURE )
{
BOOST_TEST_NE(s.find("new_error"), s.npos);
BOOST_TEST_NE(s.find("appended: 42"), s.npos);
Expand Down
2 changes: 1 addition & 1 deletion test/diagnostic_info_test5.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ int main()
st << di;
std::string s = st.str();
std::cout << s << std::endl;
if( BOOST_LEAF_CFG_DIAGNOSTICS )
if( BOOST_LEAF_CFG_DIAGNOSTICS && BOOST_LEAF_CFG_CAPTURE )
{
auto const n1 = s.find("info<1>: acc=0");
auto const n2 = s.find("info<2>: acc=0");
Expand Down

0 comments on commit bda3f5f

Please sign in to comment.