Skip to content

Commit

Permalink
I broke the system test
Browse files Browse the repository at this point in the history
  • Loading branch information
klemens-morgenstern committed Jan 22, 2019
1 parent e879bf3 commit 8548fa2
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions test/test_sys.cpp
Expand Up @@ -4,28 +4,22 @@

BOOST_AUTO_TEST_SUITE(system_suite)

#if defined(_WIN32)

BOOST_AUTO_TEST_CASE(win_test)
{
BOOST_CHECK(true);
BOOST_REQUIRE(BOOST_IS_DEFINED(_WIN32));
}

#else

BOOST_AUTO_TEST_CASE(sys_test)
{
BOOST_WARN_MESSAGE(BOOST_IS_DEFINED(__unix__), "System is not linux");
BOOST_REQUIRE(!BOOST_IS_DEFINED(_WIN32));
}

#endif


BOOST_AUTO_TEST_CASE(gen_test)
{
BOOST_CHECK_MESSAGE(true, "some test would be here");
BOOST_CHECK_MESSAGE(false, "some test would be here");
}

BOOST_AUTO_TEST_SUITE_END()

0 comments on commit 8548fa2

Please sign in to comment.