diff options
author | Anthony Barbier <anthony.barbier@arm.com> | 2017-09-28 12:01:10 +0100 |
---|---|---|
committer | Anthony Barbier <anthony.barbier@arm.com> | 2018-11-02 16:35:24 +0000 |
commit | f6705ec6ed137233680929e941c674af6baae1dc (patch) | |
tree | 01e042ca01e80cec627cb76b537a3c5e5d65b7b5 /tests/validation_old/UNIT/FixedPoint.cpp | |
parent | 349feef33ed931a4b24f34f76482e80428973873 (diff) | |
download | ComputeLibrary-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/validation_old/UNIT/FixedPoint.cpp')
-rw-r--r-- | tests/validation_old/UNIT/FixedPoint.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
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); |