enable backward-cpp for test
This commit is contained in:
parent
ca799298f4
commit
624b92bc97
@ -19,6 +19,10 @@
|
|||||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
SOFTWARE.
|
SOFTWARE.
|
||||||
*/
|
*/
|
||||||
|
#if !defined(PROJECT_STATIC_LINK)
|
||||||
|
#include "backward.hpp"
|
||||||
|
#endif
|
||||||
|
|
||||||
#include "initialize.hpp"
|
#include "initialize.hpp"
|
||||||
#include "test_common.hpp"
|
#include "test_common.hpp"
|
||||||
#include "utils/error_utils.hpp"
|
#include "utils/error_utils.hpp"
|
||||||
@ -33,6 +37,10 @@ std::size_t PROVIDER_INDEX{0U};
|
|||||||
#endif // _WIN32
|
#endif // _WIN32
|
||||||
|
|
||||||
auto main(int argc, char **argv) -> int {
|
auto main(int argc, char **argv) -> int {
|
||||||
|
#if !defined(PROJECT_STATIC_LINK)
|
||||||
|
static backward::SignalHandling sh;
|
||||||
|
#endif
|
||||||
|
|
||||||
if (not repertory::project_initialize()) {
|
if (not repertory::project_initialize()) {
|
||||||
std::cerr << "fatal: failed to initialize repertory" << std::endl;
|
std::cerr << "fatal: failed to initialize repertory" << std::endl;
|
||||||
return -1;
|
return -1;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user