From feb938fae2515eb3ad245f51847edfddf6f06706 Mon Sep 17 00:00:00 2001 From: Michael Davidsaver Date: Tue, 12 Nov 2019 17:36:10 -0800 Subject: [PATCH] minor epicsTimerTest (cherry picked from commit 7acd7c61450e2ecc5880cd7d12f12a59ee9d02e4) --- src/libCom/test/epicsTimerTest.cpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/libCom/test/epicsTimerTest.cpp b/src/libCom/test/epicsTimerTest.cpp index aebf3f066..55870ed2d 100644 --- a/src/libCom/test/epicsTimerTest.cpp +++ b/src/libCom/test/epicsTimerTest.cpp @@ -112,10 +112,9 @@ double delayVerify::checkError () const double actualDelay = this->expireStamp - this->beginStamp; double measuredError = actualDelay - this->expectedDelay; double percentError = 100.0 * fabs ( measuredError ) / this->expectedDelay; - if ( ! testOk ( percentError < messageThresh, "%f < %f", percentError, messageThresh ) ) { - testDiag ( "delay = %f s, error = %f s (%.1f %%)", - this->expectedDelay, measuredError, percentError ); - } + testOk ( percentError < messageThresh, "%f < %f, delay = %f s, error = %f s (%.1f %%)", + percentError, messageThresh, + this->expectedDelay, measuredError, percentError ); return measuredError; }