mirror of
https://github.com/boostorg/local_function.git
synced 2026-01-21 05:02:09 +00:00
64 lines
1.6 KiB
Plaintext
64 lines
1.6 KiB
Plaintext
|
|
# Copyright (C) 2009-2012 Lorenzo Caminiti
|
|
# Distributed under the Boost Software License, Version 1.0
|
|
# (see accompanying file LICENSE_1_0.txt or a copy at
|
|
# http://www.boost.org/LICENSE_1_0.txt)
|
|
# Home at http://www.boost.org/libs/local_function
|
|
|
|
import testing ;
|
|
|
|
# Sun does not automatically detect type-of emulation mode (force it).
|
|
project :
|
|
requirements
|
|
<toolset>sun:<define>BOOST_TYPEOF_EMULATION
|
|
<toolset>gcc:<cxxflags>-Wno-unused-local-typedefs
|
|
<toolset>clang:<cxxflags>-Wno-unused-local-typedefs
|
|
;
|
|
|
|
rule vaseq ( command target )
|
|
{
|
|
$(command) $(target).cpp ;
|
|
$(command) $(target)_seq.cpp ;
|
|
$(command) $(target)_seq_nova.cpp ;
|
|
}
|
|
|
|
vaseq run add ;
|
|
vaseq run add_default ;
|
|
vaseq run add_except ;
|
|
vaseq run add_inline ;
|
|
vaseq run add_params_only ;
|
|
vaseq run add_template ;
|
|
vaseq run add_this ;
|
|
vaseq run add_typed ;
|
|
vaseq run add_with_default ;
|
|
vaseq run all_decl ;
|
|
vaseq run factorial ;
|
|
vaseq run goto ;
|
|
vaseq compile-fail goto_error ;
|
|
vaseq run macro_commas ;
|
|
vaseq run nesting ;
|
|
vaseq run operator ;
|
|
vaseq compile-fail operator_error ;
|
|
vaseq run overload ;
|
|
vaseq run return_assign ;
|
|
|
|
# This test fails with division by zero under gcc-13, clang on macOS,
|
|
# and clang-cl
|
|
# The failure is legitimate; ASan reports stack use after return
|
|
# I don't know enough about the library to determine whether the problem
|
|
# is with the test or the implementation, though.
|
|
|
|
# vaseq run return_derivative ;
|
|
|
|
vaseq run return_inc ;
|
|
vaseq run return_setget ;
|
|
vaseq run return_this ;
|
|
vaseq run same_line ;
|
|
vaseq run transform ;
|
|
vaseq run typeof ;
|
|
vaseq run typeof_template ;
|
|
|
|
run ten_void.cpp ;
|
|
run ten_void_nova.cpp ;
|
|
|