diff --git a/alib2common/test-src/measurements/MeasurementsTest.cpp b/alib2common/test-src/measurements/MeasurementsTest.cpp index 5f3452d2e557a0b5136605dc747bfb5b0ca710c8..cf168742495b7d4269b816ff454893bf06fb2b08 100644 --- a/alib2common/test-src/measurements/MeasurementsTest.cpp +++ b/alib2common/test-src/measurements/MeasurementsTest.cpp @@ -105,6 +105,7 @@ void MeasurementsTest::testMemoryMeasurements ( ) { measurements::end ( ); measurements::end ( ); +#ifdef DEBUG int expectedResultsHW [ ] = { 12000, 2000, 12000 , 12000, 4000, 4000 }; int expectedResultsSHU [ ] = { 0, 0 , 4000 , 4000 , 0 , 0 }; int expectedResultsEHU [ ] = { 0, 2000, 0 , 12000, 0 , 0 }; @@ -118,6 +119,7 @@ void MeasurementsTest::testMemoryMeasurements ( ) { CPPUNIT_ASSERT ( expectedResultsEHU[i] == frame.memory.endHeapUsage ); i++; } +#endif std::cout << measurements::MeasurementFormat::LIST << measurements::results ( ) << std::endl; std::cout << measurements::MeasurementFormat::TREE << measurements::results ( ) << std::endl;