debug epicsTimerTest

(cherry picked from commit 2af0c10470)
This commit is contained in:
Michael Davidsaver
2018-05-04 20:27:51 -07:00
parent 60a092fa50
commit 33f2d8c4aa

View File

@@ -112,7 +112,7 @@ double delayVerify::checkError () const
double actualDelay = this->expireStamp - this->beginStamp;
double measuredError = actualDelay - this->expectedDelay;
double percentError = 100.0 * fabs ( measuredError ) / this->expectedDelay;
if ( ! testOk1 ( percentError < messageThresh ) ) {
if ( ! testOk ( percentError < messageThresh, "%f < %f", percentError, messageThresh ) ) {
testDiag ( "delay = %f s, error = %f s (%.1f %%)",
this->expectedDelay, measuredError, percentError );
}