Initial work on also doing battle stuff in tests.
This commit is contained in:
@@ -15,6 +15,7 @@ public:
|
||||
ctx->Prepare(_function);
|
||||
ctx->SetUserData(_env.get());
|
||||
auto e = ctx->Execute();
|
||||
_env->CollectGarbage();
|
||||
if (e == asEXECUTION_EXCEPTION) {
|
||||
_errorMessage = ctx->GetExceptionString();
|
||||
_result = TestResult::Failed;
|
||||
|
||||
Reference in New Issue
Block a user