forked from boostorg/system
Simplify after_main_test
This commit is contained in:
@ -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 ;
|
||||
|
@ -5,6 +5,7 @@
|
||||
#include <boost/system/error_code.hpp>
|
||||
#include <boost/core/lightweight_test.hpp>
|
||||
#include <boost/core/quick_exit.hpp>
|
||||
#include <cerrno>
|
||||
|
||||
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()
|
||||
{
|
||||
}
|
||||
|
@ -1,9 +0,0 @@
|
||||
|
||||
// Copyright 2018 Peter Dimov.
|
||||
// Distributed under the Boost Software License, Version 1.0.
|
||||
|
||||
#include <boost/system/error_code.hpp>
|
||||
|
||||
using namespace boost::system;
|
||||
|
||||
static error_code e1( 1, system_category() );
|
@ -1,10 +0,0 @@
|
||||
|
||||
// Copyright 2018 Peter Dimov.
|
||||
// Distributed under the Boost Software License, Version 1.0.
|
||||
|
||||
#include <boost/system/error_code.hpp>
|
||||
#include <cerrno>
|
||||
|
||||
using namespace boost::system;
|
||||
|
||||
static error_code e2( ENOENT, generic_category() );
|
Reference in New Issue
Block a user