optimized unit tests
This commit is contained in:
@@ -35,13 +35,7 @@ POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
int test_main();
|
||||
|
||||
bool tests_failure = false;
|
||||
|
||||
void report_failure(char const* err, char const* file, int line)
|
||||
{
|
||||
std::cerr << "\033[31m" << file << ":" << line << " \"" << err << "\"\033[0m\n";
|
||||
tests_failure = true;
|
||||
}
|
||||
extern bool tests_failure;
|
||||
|
||||
int main()
|
||||
{
|
||||
|
Reference in New Issue
Block a user