1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2024-12-12 10:04:14 +02:00

Add TEST_TITLE_FMT() macro.

This commit is contained in:
David Steele 2020-03-28 18:20:29 -04:00
parent e1c72f6f97
commit 7e519e72d5

View File

@ -354,6 +354,14 @@ Test title macro
fflush(stdout); \ fflush(stdout); \
} while(0) } while(0)
#define TEST_TITLE_FMT(format, ...) \
do \
{ \
hrnTestLogPrefix(__LINE__, false); \
printf(format "\n", __VA_ARGS__); \
fflush(stdout); \
} while(0)
/*********************************************************************************************************************************** /***********************************************************************************************************************************
Is this a 64-bit system? If not then it is 32-bit since 16-bit systems are not supported. Is this a 64-bit system? If not then it is 32-bit since 16-bit systems are not supported.
***********************************************************************************************************************************/ ***********************************************************************************************************************************/