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/validation_old/UNIT/FixedPoint.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tests/validation_old') diff --git a/tests/validation_old/UNIT/FixedPoint.cpp b/tests/validation_old/UNIT/FixedPoint.cpp index 6a92cfb963..26cf905abf 100644 --- a/tests/validation_old/UNIT/FixedPoint.cpp +++ b/tests/validation_old/UNIT/FixedPoint.cpp @@ -57,7 +57,7 @@ BOOST_DATA_TEST_CASE(FixedPointQS8Inputs, boost::unit_test::data::make(func_name std::ifstream inputs_file{ base_file_name + ".in", std::ios::binary | std::ios::in }; BOOST_TEST_INFO(base_file_name + ".in"); - BOOST_TEST_REQUIRE(inputs_file.good()); + BOOST_TEST_REQUIRE(inputs_file.good()); //FIXME: When moving to new framework: throw a FileNotFound exception float float_val = 0.f; @@ -90,9 +90,9 @@ BOOST_DATA_TEST_CASE(FixedPointQS8Outputs, (boost::unit_test::data::make(func_na std::ifstream reference_file{ base_file_name + ".out", std::ios::binary | std::ios::in }; BOOST_TEST_INFO(base_file_name + ".in"); - BOOST_TEST_REQUIRE(inputs_file.good()); + BOOST_TEST_REQUIRE(inputs_file.good()); //FIXME: When moving to new framework: throw a FileNotFound exception BOOST_TEST_INFO(base_file_name + ".out"); - BOOST_TEST_REQUIRE(reference_file.good()); + BOOST_TEST_REQUIRE(reference_file.good()); //FIXME: When moving to new framework: throw a FileNotFound exception const float step_size = std::pow(2.f, -frac_bits); -- cgit v1.2.1