From 8d4f1bb4afb05d832d20339ad18e7028cd55eb8c Mon Sep 17 00:00:00 2001 From: Peter Dimov Date: Wed, 5 Sep 2018 20:23:13 +0300 Subject: [PATCH 1/2] Revert to always using std::abort instead of the platform-specific _exit/_Exit --- include/boost/core/lightweight_test.hpp | 7 ------- 1 file changed, 7 deletions(-) diff --git a/include/boost/core/lightweight_test.hpp b/include/boost/core/lightweight_test.hpp index 2fa329f..bfffcfb 100644 --- a/include/boost/core/lightweight_test.hpp +++ b/include/boost/core/lightweight_test.hpp @@ -55,14 +55,7 @@ public: ~test_result() { if (!report_) { BOOST_LIGHTWEIGHT_TEST_OSTREAM << "main() should return report_errors()" << std::endl; - -#if defined(_MSC_VER) - ::_exit( 3 ); -#elif defined(__MINGW32__) && !defined(__MINGW64_VERSION_MAJOR) std::abort(); -#else - ::_Exit( 3 ); -#endif } } From 6dd97ee415bc1e856f58c198c69eafc12eb0e61e Mon Sep 17 00:00:00 2001 From: Peter Dimov Date: Wed, 5 Sep 2018 20:25:05 +0300 Subject: [PATCH 2/2] Add more Appveyor configurations --- appveyor.yml | 40 +++++++++++++++++++++++++--------------- 1 file changed, 25 insertions(+), 15 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index f652c05..0ba2b61 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -17,21 +17,6 @@ environment: - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2013 TOOLSET: msvc-9.0,msvc-10.0,msvc-11.0,msvc-12.0 - - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2013 - ADDPATH: C:\cygwin\bin; - TOOLSET: gcc - CXXSTD: 03,11 - - - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2013 - ADDPATH: C:\mingw\bin; - TOOLSET: gcc - CXXSTD: 03,11 - - - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2013 - ADDPATH: C:\mingw-w64\x86_64-6.3.0-posix-seh-rt_v5-rev1\mingw64\bin; - TOOLSET: gcc - CXXSTD: 03,11 - - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015 TOOLSET: msvc-14.0 @@ -39,6 +24,31 @@ environment: TOOLSET: msvc-14.1 CXXSTD: 14,17 + - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2013 + ADDPATH: C:\cygwin\bin; + TOOLSET: gcc + CXXSTD: 03,11,14,1z + + - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2013 + ADDPATH: C:\cygwin64\bin; + TOOLSET: gcc + CXXSTD: 03,11,14,1z + + - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2013 + ADDPATH: C:\mingw\bin; + TOOLSET: gcc + CXXSTD: 03,11,14,1z + + - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2013 + ADDPATH: C:\mingw-w64\x86_64-6.3.0-posix-seh-rt_v5-rev1\mingw64\bin; + TOOLSET: gcc + CXXSTD: 03,11,14,1z + + - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2013 + ADDPATH: C:\mingw-w64\x86_64-7.2.0-posix-seh-rt_v5-rev1\mingw64\bin; + TOOLSET: gcc + CXXSTD: 03,11,14,1z + install: - set BOOST_BRANCH=develop - if "%APPVEYOR_REPO_BRANCH%" == "master" set BOOST_BRANCH=master