2022-02-19 22:25:03 +00:00
|
|
|
/***
|
|
|
|
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>
|
|
|
|
|
2022-02-21 06:29:28 +00:00
|
|
|
#include <AuroraRuntime.hpp>
|
|
|
|
|
2022-02-19 22:25:03 +00:00
|
|
|
void Aurora::UnitTesting::EndTest(TestResponse response)
|
|
|
|
{
|
2022-02-21 06:29:28 +00:00
|
|
|
Aurora::RuntimeShutdown();
|
2022-02-19 22:25:03 +00:00
|
|
|
exit(ToExitCode(response));
|
|
|
|
}
|