From 8f57cc4ef215770718ffe055d04423c1ef26c203 Mon Sep 17 00:00:00 2001 From: Francisco Santos Date: Wed, 12 Mar 2014 18:10:03 +0000 Subject: [PATCH] Print the value that we are trying to find when uniform test fails. Change-Id: Iaaceb6ce9431443a271d8e48bd2d79adb6aba146 Signed-off-by: Francisco Santos --- automated-tests/dali-test-suite-utils/test-gl-abstraction.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/automated-tests/dali-test-suite-utils/test-gl-abstraction.h b/automated-tests/dali-test-suite-utils/test-gl-abstraction.h index 04f4a35..27adc61 100644 --- a/automated-tests/dali-test-suite-utils/test-gl-abstraction.h +++ b/automated-tests/dali-test-suite-utils/test-gl-abstraction.h @@ -1572,7 +1572,9 @@ public: // TEST FUNCTIONS } } - tet_infoline( "Not found, printing possible values:" ); + std::stringstream notFound; + notFound << "Not found " << value << " printing possible values:"; + tet_printf( "%s", notFound.str().c_str() ); for( ProgramUniformMap::const_iterator program_it = mUniforms.begin(); program_it != mUniforms.end(); ++program_it ) -- 2.7.4