diff --git a/test/Jamfile.v2 b/test/Jamfile.v2 index 7e5bddd..03ef7c4 100644 --- a/test/Jamfile.v2 +++ b/test/Jamfile.v2 @@ -126,7 +126,7 @@ system-run win32_hresult_test.cpp ; system-run error_category_test.cpp ; system-run generic_category_test.cpp ; system-run system_category_test.cpp ; -system-run after_main_test.cpp after_main_test_1.cpp after_main_test_2.cpp ; +system-run after_main_test.cpp ; # Quick (CI) test run quick.cpp ; diff --git a/test/after_main_test.cpp b/test/after_main_test.cpp index 79fc5b4..520f807 100644 --- a/test/after_main_test.cpp +++ b/test/after_main_test.cpp @@ -5,6 +5,7 @@ #include #include #include +#include using namespace boost::system; @@ -21,6 +22,9 @@ struct Z static Z z; +static error_code e1( 1, system_category() ); +static error_code e2( ENOENT, generic_category() ); + int main() { } diff --git a/test/after_main_test_1.cpp b/test/after_main_test_1.cpp deleted file mode 100644 index 5b9f728..0000000 --- a/test/after_main_test_1.cpp +++ /dev/null @@ -1,9 +0,0 @@ - -// Copyright 2018 Peter Dimov. -// Distributed under the Boost Software License, Version 1.0. - -#include - -using namespace boost::system; - -static error_code e1( 1, system_category() ); diff --git a/test/after_main_test_2.cpp b/test/after_main_test_2.cpp deleted file mode 100644 index 7da78e6..0000000 --- a/test/after_main_test_2.cpp +++ /dev/null @@ -1,10 +0,0 @@ - -// Copyright 2018 Peter Dimov. -// Distributed under the Boost Software License, Version 1.0. - -#include -#include - -using namespace boost::system; - -static error_code e2( ENOENT, generic_category() );