test-utils: Define colors for test status messages

This patch defines pre-processor macros for the colors used to emit
test SUCCESS/FAILURE status.  These are going to be used by the code,
onward.

	* tests/test-utils.h (TEST_FAILURE_COLOR, TEST_SUCCESS_COLOR):
	Define macros.

Signed-off-by: Dodji Seketeli <dodji@redhat.com>
This commit is contained in:
Dodji Seketeli 2021-11-17 11:58:31 +01:00
parent 5ac010cc9b
commit c9e74e49d6
1 changed files with 3 additions and 0 deletions

View File

@ -13,6 +13,9 @@
#define BRIGHT_RED_COLOR "\e[1;31m"
#define DEFAULT_TERMINAL_COLOR "\033[0m"
#define TEST_FAILURE_COLOR BRIGHT_RED_COLOR
#define TEST_SUCCESS_COLOR BRIGHT_YELLOW_COLOR
namespace abigail
{
namespace tests