@@ -174,7 +174,7 @@ LIBCOM_API void testPlan(int tests);
174
174
* \param ... Any parameters required for the format string.
175
175
* \return The value of \p pass.
176
176
*/
177
- LIBCOM_API int testOk (int pass , const char * fmt , ...)
177
+ LIBCOM_API int testOk (int pass , EPICS_PRINTF_FMT ( const char * fmt ) , ...)
178
178
EPICS_PRINTF_STYLE (2 , 3 );
179
179
/** \brief Test result using expression as description
180
180
* \param cond Expression to be evaluated and displayed.
@@ -192,13 +192,13 @@ LIBCOM_API int testOkV(int pass, const char *fmt, va_list pvar);
192
192
* \param fmt A printf-style format string describing the test.
193
193
* \param ... Any parameters required for the format string.
194
194
*/
195
- LIBCOM_API void testPass (const char * fmt , ...)
195
+ LIBCOM_API void testPass (EPICS_PRINTF_FMT ( const char * fmt ) , ...)
196
196
EPICS_PRINTF_STYLE (1 , 2 );
197
197
/** \brief Failing test result with printf-style description.
198
198
* \param fmt A printf-style format string describing the test.
199
199
* \param ... Any parameters required for the format string.
200
200
*/
201
- LIBCOM_API void testFail (const char * fmt , ...)
201
+ LIBCOM_API void testFail (EPICS_PRINTF_FMT ( const char * fmt ) , ...)
202
202
EPICS_PRINTF_STYLE (1 , 2 );
203
203
/** @} */
204
204
@@ -223,15 +223,15 @@ LIBCOM_API void testTodoEnd(void);
223
223
* \param fmt A printf-style format string giving the reason for stopping.
224
224
* \param ... Any parameters required for the format string.
225
225
*/
226
- LIBCOM_API void testAbort (const char * fmt , ...)
226
+ LIBCOM_API void testAbort (EPICS_PRINTF_FMT ( const char * fmt ) , ...)
227
227
EPICS_PRINTF_STYLE (1 , 2 );
228
228
/** @} */
229
229
230
230
/** \brief Output additional diagnostics
231
231
* \param fmt A printf-style format string containing diagnostic information.
232
232
* \param ... Any parameters required for the format string.
233
233
*/
234
- LIBCOM_API int testDiag (const char * fmt , ...)
234
+ LIBCOM_API int testDiag (EPICS_PRINTF_FMT ( const char * fmt ) , ...)
235
235
EPICS_PRINTF_STYLE (1 , 2 );
236
236
/** \brief Mark the end of testing.
237
237
*/
0 commit comments