Skip to content

Commit

Permalink
Revert "t Suppress running of tests on cygwin (#120)"
Browse files Browse the repository at this point in the history
This reverts commit 8f8e96a.
  • Loading branch information
claremacrae committed Aug 30, 2021
1 parent 1e7e02f commit ffdf91b
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 20 deletions.
8 changes: 3 additions & 5 deletions tests/Boost_Tests/BoostTestApprovalTestsTests.cpp
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
#ifndef __CYGWIN__
// Workaround for boost crash on cygwin: see #120
#include "main.cpp"

#define BOOST_TEST_INCLUDED
#include <boost/test/unit_test.hpp>
//#define BOOST_TEST_INCLUDED
//#include <boost/test/unit_test.hpp>

#include "ApprovalTests/namers/ApprovalTestNamer.h"
#include "ApprovalTests/Approvals.h"
Expand All @@ -23,4 +22,3 @@ BOOST_AUTO_TEST_CASE(TestCaseName)
BOOST_AUTO_TEST_SUITE_END()

BOOST_AUTO_TEST_SUITE_END()
#endif
2 changes: 1 addition & 1 deletion tests/Boost_Tests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ endif ()
project(Boost_Tests)
set(CMAKE_CXX_STANDARD 11)
add_executable(${PROJECT_NAME}
main.cpp
# main.cpp
BoostTestApprovalTestsTests.cpp
)

Expand Down
11 changes: 0 additions & 11 deletions tests/Boost_Tests/CygwinHack.h

This file was deleted.

3 changes: 0 additions & 3 deletions tests/Boost_Tests/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,3 @@
#define APPROVALS_BOOSTTEST
#include "ApprovalTests.hpp"
// end-snippet

// Workaround for boost crash on cygwin: see #120
#include "CygwinHack.h"

0 comments on commit ffdf91b

Please sign in to comment.