Add macros printf_green and printf_red 09/180009/2
authorPawel Kowalski <p.kowalski2@partner.samsung.com>
Thu, 24 May 2018 05:46:06 +0000 (07:46 +0200)
committerYunjin Lee <yunjin-.lee@samsung.com>
Thu, 7 Jun 2018 08:34:31 +0000 (08:34 +0000)
commit8d274effa7b15472c9233ab879699e9af0bb3445
tree01d3eca373f4144ec04366dec2f8a25236f444a9
parent5439f75be8f1a6e294b95dc67addd641f9935613
Add macros printf_green and printf_red

Macros printf_green and printf_red allow to print color messages in
simpler way than before. For example macro printf_green replaces
following lines:

  __color_to_green();
  printf(...);
  __color_to_origin();

Change-Id: I77be0f2793b7524fef863390df5e9c65070a4de0
Signed-off-by: Pawel Kowalski <p.kowalski2@partner.samsung.com>
test/tc-common.h
test/tc-privilege-black-list.c
test/tc-privilege-db-manager.c
test/tc-privilege-info.c
test/tc-privilege-manager.c
test/tc-privilege-package-info.c