aboutsummaryrefslogtreecommitdiff
path: root/tests/framework/Exceptions.cpp
diff options
context:
space:
mode:
authorAnthony Barbier <anthony.barbier@arm.com>2017-09-28 12:01:10 +0100
committerAnthony Barbier <anthony.barbier@arm.com>2018-11-02 16:35:24 +0000
commitf6705ec6ed137233680929e941c674af6baae1dc (patch)
tree01e042ca01e80cec627cb76b537a3c5e5d65b7b5 /tests/framework/Exceptions.cpp
parent349feef33ed931a4b24f34f76482e80428973873 (diff)
downloadComputeLibrary-f6705ec6ed137233680929e941c674af6baae1dc.tar.gz
COMPMID-417 Allow the tests to run even when assets are not present
Change-Id: Ief165b1d583a70cbe35aae93f05ddfe962196323 Reviewed-on: http://mpd-gerrit.cambridge.arm.com/89503 Reviewed-by: Georgios Pinitas <georgios.pinitas@arm.com> Tested-by: Kaizen <jeremy.johnson+kaizengerrit@arm.com>
Diffstat (limited to 'tests/framework/Exceptions.cpp')
-rw-r--r--tests/framework/Exceptions.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/framework/Exceptions.cpp b/tests/framework/Exceptions.cpp
index 3d6c65c181..0ca86a8589 100644
--- a/tests/framework/Exceptions.cpp
+++ b/tests/framework/Exceptions.cpp
@@ -104,6 +104,11 @@ std::string to_string(LogLevel level)
return stream.str();
}
+FileNotFound::FileNotFound(const std::string &msg)
+ : std::runtime_error{ msg }
+{
+}
+
TestError::TestError(const std::string &msg, LogLevel level, std::string context)
: std::runtime_error{ msg }, _level{ level }, _msg{ msg }, _context{ std::move(context) }, _combined{ "ERROR: " + msg }
{