Updated catch.

This commit is contained in:
Branimir Karadžić
2017-02-20 19:48:16 -08:00
parent e760d0aa9d
commit 97eba92e96
10 changed files with 1102 additions and 505 deletions

20
tests/run_test.cpp Normal file
View File

@@ -0,0 +1,20 @@
/*
* Copyright 2010-2017 Branimir Karadzic. All rights reserved.
* License: https://github.com/bkaradzic/bx#license-bsd-2-clause
*/
#define CATCH_CONFIG_RUNNER
#include "test.h"
int runAllTests(int _argc, const char* _argv[])
{
DBG("Compiler: " BX_COMPILER_NAME
", CPU: " BX_CPU_NAME
", Architecture: " BX_ARCH_NAME
", OS: " BX_PLATFORM_NAME
", CRT: " BX_CRT_NAME
", Date: " __DATE__
", Time: " __TIME__
);
return Catch::Session().run(_argc, _argv);
}