Add script creating colorful test output
authorLukasz Kostyra <l.kostyra@partner.samsung.com>
Wed, 5 Mar 2014 09:23:01 +0000 (10:23 +0100)
committerJan Olszak <j.olszak@samsung.com>
Mon, 19 May 2014 11:47:14 +0000 (13:47 +0200)
commit802fdd7bab05fdcaafff33684abdb805e5b6605e
treeeb3eb59029fef3b78f018f6886be91f3025e2907
parentc4a020f53022ec233d153b793c72d2dabf011f35
Add script creating colorful test output

[Issue#]        PSDAC-170
[Feature]       Adds a script which parses XML test result into a pretty colorful page.
[Cause]         N/A
[Solution]      N/A
[Verification]  Build, install, run sc_tests_all. First, Boost output should show up and it should
                be colored according to following scheme:
                    * BOLD RED = line begins with tag [ERROR]
                    * BOLD YELLOW = line begins with tag [WARN ]
                    * BOLD BLUE = line begins with tag [INFO ]
                    * GREEN = line begins with tag [DEBUG]
                    * BLACK = line begins with tag [TRACE]
                Then, a summary containing all test results should show up.

                Additionally user can launch Valgrind and GDB using this script. Before entering
                binary with test add --valgrind, or --gdb option. Parsing arguments to test binary
                works as well.

                Example use with Valgrind:
               sc_test_launch --valgrind --leak-check=full -v security-containers-server-unit-tests

Change-Id: Ie183ae0ab799e896b7077f979c12c99416d54a84
packaging/security-containers.spec
src/scripts/sc_test_launch.py [new file with mode: 0755]
src/scripts/sc_test_parser.py [new file with mode: 0644]
src/scripts/sc_tests_all.py [new file with mode: 0755]
src/server/unit_tests/ut-scs-log.cpp [new file with mode: 0644]