libcruft-util/test/backtrace.cpp
Danny Robson 9471b9eae7 test: ensure all tests return a useful status code
These tests were all assumed to execute correctly because CTest is not
capable of parsing the TAP output and instead relies entirely on status
codes.
2017-05-22 13:55:21 +10:00

19 lines
313 B
C++

#include "backtrace.hpp"
#include "tap.hpp"
#include "stream.hpp"
#include <iostream>
#include <cstdlib>
///////////////////////////////////////////////////////////////////////////////
int
main (int, char **) {
util::TAP::logger tap;
debug::backtrace ();
tap.noop ();
return tap.status ();
}