HelloAurora/Tests/Common/test.cpp
Reece 6b0e11741c [+] Parse test
[+] Log test
[+] Added runtime shutdown on unit assert failure
[*] Updated runtime
2022-02-21 06:29:28 +00:00

20 lines
426 B
C++

/***
Copyright 2020 Reece Wilson (a/k/a "Reece"). All rights reserved.
File: test.cpp
Date: 2020-6-12
Originator: Reece
Purpose: Lightweight and portable unit test abstraction
***/
#include <AuroraCommon.hpp>
#include "test.hpp"
#include <stdlib.h>
#include <AuroraRuntime.hpp>
void Aurora::UnitTesting::EndTest(TestResponse response)
{
Aurora::RuntimeShutdown();
exit(ToExitCode(response));
}