Skip to content

Commit

Permalink
Deactivate instantiate.hpp run for cygwin
Browse files Browse the repository at this point in the history
  • Loading branch information
ckormanyos committed Feb 14, 2024
1 parent a2c1def commit 979a8d9
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions test/test_compile_test_and_run.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,20 +7,19 @@
#include <boost/core/lightweight_test.hpp>
#include <boost/cstdfloat.hpp>

#if !defined(__CYGWIN__)
#include "compile_test/instantiate.hpp"
#endif

namespace local
{
auto instantiate_runner() -> void
{
#if defined(BOOST_FLOAT64_C)
#if (defined(BOOST_FLOAT64_C) && !defined(__CYGWIN__))

instantiate(static_cast<boost::float64_t>(BOOST_FLOAT64_C(1.23)));

#if defined(__CYGWIN__)
const bool result_instantiate_and_run_is_ok = true;
#else
const bool result_instantiate_and_run_is_ok = instantiate_runner_result<boost::float64_t>::value;
#endif

BOOST_TEST(result_instantiate_and_run_is_ok);

Expand Down

0 comments on commit 979a8d9

Please sign in to comment.