aboutsummaryrefslogtreecommitdiff
path: root/reference_model/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'reference_model/src/main.cpp')
-rw-r--r--reference_model/src/main.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/reference_model/src/main.cpp b/reference_model/src/main.cpp
index 9a775fb..ae76cd5 100644
--- a/reference_model/src/main.cpp
+++ b/reference_model/src/main.cpp
@@ -1,5 +1,5 @@
-// Copyright (c) 2020, ARM Limited.
+// Copyright (c) 2020-2022, ARM Limited.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -401,6 +401,11 @@ int initTestDesc(json& test_desc)
return 1;
}
}
+ else
+ {
+ WARNING("Cannot open input file: %s", g_func_config.test_desc);
+ return 1;
+ }
// Overwrite flatbuffer_dir/output_dir with dirname(g_func_config.test_desc) if it's not specified.
std::string flatbuffer_dir_str(g_func_config.flatbuffer_dir);