diff options
Diffstat (limited to 'reference_model/src/main.cpp')
-rw-r--r-- | reference_model/src/main.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/reference_model/src/main.cpp b/reference_model/src/main.cpp index 55a4848..cfae010 100644 --- a/reference_model/src/main.cpp +++ b/reference_model/src/main.cpp @@ -79,7 +79,11 @@ int main(int argc, const char** argv) if (main_gt.validateGraph()) { - SIMPLE_FATAL_ERROR("Failed to validate graph"); + WARNING("Failed to validate graph. Evaluation aborted."); + ASSERT_MSG(main_gt.getGraphStatus() == GraphStatus::TOSA_ERROR || + main_gt.getGraphStatus() == GraphStatus::TOSA_UNPREDICTABLE, + "Upon validateGraph() returning 1, graph can only be ERROR/UNPREDICTABLE."); + goto done; } if (g_func_config.validate_only) |