framework tests: Adds tests to ensure builtin tests work

Specifically this adds initializer tests which would have exposed the
bug in 90a256411.

Signed-off-by: Dylan Baker <baker.dylan.c@gmail.com>
tests: Add tests to import the test lists in tests/

These try to import all.py, all_cl.py etc, if they raise an error then
the test will fail. This is at least a little sanity around these fairly
insane modules.

Signed-off-by: Dylan Baker <baker.dylan.c@gmail.com>
tests/r500.py: Fix bug

This module has had a bug for some time that would prevent it from
running.

Signed-off-by: Dylan Baker <baker.dylan.c@gmail.com>
dmesg_tests.py: Fix Test derived class tests

These tests were not updated when the logging mechanism was updated, so
they would raise a runtime exception.

Signed-off-by: Dylan Baker <baker.dylan.c@gmail.com>
core_tests.py: Add some basic initialization tests for core

These tests help to reduce obvious breakages in the core module by
making sure that there are no interpreter related bugs. In a language
like C one wouldn't need these kinds of tests because the compiler would
catch them.

Signed-off-by: Dylan Baker <baker.dylan.c@gmail.com>
dmesg_tests.py: Add initializer tests

Signed-off-by: Dylan Baker <baker.dylan.c@gmail.com>
summary_tests.py: Add initializer test for Summary

Signed-off-by: Dylan Baker <baker.dylan.c@gmail.com>
framework/tests/utils.py: Add module for utility functions

As the framework tests grow the number of duplicated functions in each
module also grow. Adding a utilities module to store those shared
functions in makes a lot of sense.

Signed-off-by: Dylan Baker <baker.dylan.c@gmail.com>
core_tests.py: Add test for parse_listfile

This adds some tests for core.parse_listfile, some of these tests
currently fail, and are addressed later in the series

Signed-off-by: Dylan Baker <baker.dylan.c@gmail.com>
framework/core.py: fix parse_listfile

This fixes the broken tests in the last patch. It's a trivial change,
instead of just stripping trailing newlines strip all leading and
trailing whitespace characters.

Signed-off-by: Dylan Baker <baker.dylan.c@gmail.com>
summary_tests.py: Move resultsfiles function to utils

This is going to be needed in core_tests, so lets put it in the shared
module.

Signed-off-by: Dylan Baker <baker.dylan.c@gmail.com>
core_tests.py: Add tests for load_results_folder

Signed-off-by: Dylan Baker <baker.dylan.c@gmail.com>
core_tests.py: Add tests for TestResult

Specifically TestResult should convert a 'result' value into a
status.Status derived object.

Signed-off-by: Dylan Baker <baker.dylan.c@gmail.com>