Statistics
| Branch: | Tag: | Revision:

root / qa / colors.py @ 56c934da

History | View | Annotate | Download (2.5 kB)

# Date Author Comment
2129c5ff 11/18/2013 02:53 pm Petr Pudlak

Add more color options to QA

Allow combination of colors, background colors, bold, reverse video,
etc.

Signed-off-by: Petr Pudlak <>
Reviewed-by: Jose A. Lopes <>

1490a90c 11/18/2013 02:53 pm Petr Pudlak

Add more thorough check for terminal color support to QA

It uses `tput` to check if the current terminal has enough colors.

Signed-off-by: Petr Pudlak <>
Reviewed-by: Jose A. Lopes <>

d5a9b556 11/04/2013 12:57 pm Petr Pudlak

Add visual/color marks to the QA script

  • Use different visual marks at the beginning of lines (such as "<<<<" for
    starting a test and ">>>>" for finishing it)
  • Show more specifically if a test fails/passes.
  • If stdout is a terminal, use colors to distinguish different messages...