summaryrefslogtreecommitdiff
path: root/tests/common/ClassifierTests.cc
diff options
context:
space:
mode:
Diffstat (limited to 'tests/common/ClassifierTests.cc')
-rw-r--r--tests/common/ClassifierTests.cc7
1 files changed, 6 insertions, 1 deletions
diff --git a/tests/common/ClassifierTests.cc b/tests/common/ClassifierTests.cc
index 0abaa15..7df4242 100644
--- a/tests/common/ClassifierTests.cc
+++ b/tests/common/ClassifierTests.cc
@@ -1,5 +1,5 @@
/*
- * SPDX-FileCopyrightText: Copyright 2021 Arm Limited and/or its affiliates <open-source-office@arm.com>
+ * SPDX-FileCopyrightText: Copyright 2021, 2023 Arm Limited and/or its affiliates <open-source-office@arm.com>
* SPDX-License-Identifier: Apache-2.0
*
* Licensed under the Apache License, Version 2.0 (the "License");
@@ -47,10 +47,15 @@ TEST_CASE("Common classifier")
{
SECTION("Test invalid classifier")
{
+ /* Note: Errors or warnings generated by this test will appear in output of any subsequent
+ * failing tests causing misleading output. Give warning until solution is found */
+ printf("Invalid classifier common test output:\n");
TfLiteTensor* outputTens = nullptr;
std::vector <arm::app::ClassificationResult> resultVec;
arm::app::Classifier classifier;
REQUIRE(!classifier.GetClassificationResults(outputTens, resultVec, {}, 5, true));
+ printf("End of invalid classifier common test output. \nERROR messages above this line are "
+ "expected and can be ignored.\n\n");
}
SECTION("Test classification results")