4
0
mirror of https://github.com/QuasarApp/backward-cpp.git synced 2025-04-30 12:14:31 +00:00

enable tests that somebody thought it was a good idea to permanently disable.

This commit is contained in:
François-Xavier Bourlet 2017-03-15 17:32:15 -07:00
parent 5557e53f23
commit 6ae8564fbd
4 changed files with 5 additions and 4 deletions

@ -39,6 +39,8 @@ set(STACK_DETAILS_DW FALSE CACHE BOOL
set(STACK_DETAILS_BFD FALSE CACHE BOOL set(STACK_DETAILS_BFD FALSE CACHE BOOL
"Use libbfd to read debug info") "Use libbfd to read debug info")
set(BACKWARD_TESTS FALSE CACHE BOOL "Enable tests")
############################################################################### ###############################################################################
# CONFIGS # CONFIGS
############################################################################### ###############################################################################
@ -140,4 +142,4 @@ if (NOT TARGET Backward::Backward)
INTERFACE_LINK_LIBRARIES "${BACKWARD_LIBRARIES}" INTERFACE_LINK_LIBRARIES "${BACKWARD_LIBRARIES}"
INTERFACE_COMPILE_DEFINITIONS "${BACKWARD_DEFINITIONS}" INTERFACE_COMPILE_DEFINITIONS "${BACKWARD_DEFINITIONS}"
) )
endif() endif()

@ -109,4 +109,4 @@ install(
install( install(
FILES "BackwardConfig.cmake" FILES "BackwardConfig.cmake"
DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/backward DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/backward
) )

@ -1882,7 +1882,6 @@ public:
SIGUNUSED, // Synonymous with SIGSYS SIGUNUSED, // Synonymous with SIGSYS
SIGXCPU, // CPU time limit exceeded (4.2BSD) SIGXCPU, // CPU time limit exceeded (4.2BSD)
SIGXFSZ, // File size limit exceeded (4.2BSD) SIGXFSZ, // File size limit exceeded (4.2BSD)
}; };
return std::vector<int>(posix_signals, posix_signals + sizeof posix_signals / sizeof posix_signals[0] ); return std::vector<int>(posix_signals, posix_signals + sizeof posix_signals / sizeof posix_signals[0] );
} }

@ -27,7 +27,7 @@ function mkbuild() {
mkdir $builddir 2>/dev/null mkdir $builddir 2>/dev/null
( (
cd "$builddir" cd "$builddir"
cmake -DCMAKE_BUILD_TYPE=$buildtype .. cmake -DCMAKE_BUILD_TYPE=$buildtype -DBACKWARD_TESTS=ON ..
) )
} }