From f6705ec6ed137233680929e941c674af6baae1dc Mon Sep 17 00:00:00 2001 From: Anthony Barbier Date: Thu, 28 Sep 2017 12:01:10 +0100 Subject: 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 Tested-by: Kaizen --- tests/AssetsLibrary.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/AssetsLibrary.cpp') diff --git a/tests/AssetsLibrary.cpp b/tests/AssetsLibrary.cpp index 529a2a2d95..7e380fa8f3 100644 --- a/tests/AssetsLibrary.cpp +++ b/tests/AssetsLibrary.cpp @@ -153,7 +153,7 @@ RawTensor load_ppm(const std::string &path) if(!file.good()) { - throw std::runtime_error("Could not load PPM image: " + path); + throw framework::FileNotFound("Could not load PPM image: " + path); } unsigned int width = 0; -- cgit v1.2.1