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

View File

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

View File

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

View File

@ -1882,7 +1882,6 @@ public:
SIGUNUSED, // Synonymous with SIGSYS
SIGXCPU, // CPU time 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] );
}

View File

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