adding exception handling for tests that are not going through AzTestRunner

Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com>
This commit is contained in:
Esteban Papp
2021-10-15 11:02:12 -07:00
parent 8829ceb0f8
commit 721d92b4f9
5 changed files with 13 additions and 1 deletions
+3
View File
@@ -18,6 +18,9 @@ int runDefaultRunner(int argc, char* argv[])
int main(int argc, char* argv[])
{
AZ::Debug::Trace::HandleExceptions(true);
AZ::Test::ApplyGlobalParameters(&argc, argv);
if (argc == 1)
{
// if no parameters are provided, add the --unittests parameter