This commit is contained in:
@ -16,20 +16,26 @@
|
||||
#include <IACore/IACore.hpp>
|
||||
#include <IACore/IATest.hpp>
|
||||
|
||||
int main(int argc, char *argv[])
|
||||
{
|
||||
UNUSED(argc);
|
||||
UNUSED(argv);
|
||||
#include <IACore/SocketOps.hpp>
|
||||
|
||||
printf(__CC_GREEN "\n===============================================================\n");
|
||||
printf(" IACore (Independent Architecture Core) - Unit Test Suite\n");
|
||||
printf("===============================================================\n" __CC_DEFAULT "\n");
|
||||
using namespace IACore;
|
||||
|
||||
IACore::Initialize();
|
||||
IACORE_MAIN() {
|
||||
(void)args;
|
||||
|
||||
int result = ia::iatest::TestRegistry::RunAll();
|
||||
IA_TRY_PURE(SocketOps::initialize());
|
||||
|
||||
IACore::Terminate();
|
||||
std::cout
|
||||
<< console::GREEN
|
||||
<< "\n===============================================================\n";
|
||||
std::cout << " IACore (Independent Architecture Core) - Unit Test Suite\n";
|
||||
std::cout
|
||||
<< "===============================================================\n"
|
||||
<< console::RESET << "\n";
|
||||
|
||||
return result;
|
||||
const i32 result = Test::TestRegistry::run_all();
|
||||
|
||||
SocketOps::terminate();
|
||||
|
||||
return result;
|
||||
}
|
||||
Reference in New Issue
Block a user