[Piglit] [PATCH 0/5] Move unittests out of framework

baker.dylan.c at gmail.com baker.dylan.c at gmail.com
Thu Dec 17 16:15:48 PST 2015


From: Dylan Baker <baker.dylan.c at gmail.com>

It's generally just confusing having the unit tests for the framework in
the framework folder. Moving them to the top level makes more sense and
should lower the confusion factor for anyone wanting to look at the
framework.

Dylan Baker (5):
  junit_backend_tests.py: make schema path robust
  framework/tests: Use relative import for utils
  base_tests.py: make import from tests relative
  unittests: move framework/tests to unittests
  tox.ini: compress tox file to be simpler

 tox.ini                                            | 34 +++++++---------------
 {framework/tests => unittests}/__init__.py         |  0
 {framework/tests => unittests}/backends_tests.py   |  2 +-
 {framework/tests => unittests}/base_tests.py       |  4 +--
 .../compressed_backend_tests.py                    |  2 +-
 {framework/tests => unittests}/core_tests.py       |  2 +-
 {framework/tests => unittests}/deqp_tests.py       |  2 +-
 {framework/tests => unittests}/dmesg_tests.py      |  0
 {framework/tests => unittests}/exceptions_tests.py |  2 +-
 {framework/tests => unittests}/gleantest_tests.py  |  2 +-
 .../tests => unittests}/glsl_parser_test_tests.py  |  2 +-
 {framework/tests => unittests}/grouptools_tests.py |  2 +-
 {framework/tests => unittests}/gtest_tests.py      |  2 +-
 .../tests => unittests}/integration_tests.py       |  0
 .../tests => unittests}/json_backend_tests.py      |  2 +-
 .../json_results_update_tests.py                   |  2 +-
 {framework/tests => unittests}/json_tests.py       |  2 +-
 .../tests => unittests}/junit_backends_tests.py    |  6 ++--
 {framework/tests => unittests}/log_tests.py        |  2 +-
 {framework/tests => unittests}/oglconform_tests.py |  2 +-
 {framework/tests => unittests}/opencv_tests.py     |  2 +-
 {framework/tests => unittests}/opengl_tests.py     |  2 +-
 {framework/tests => unittests}/options_tests.py    |  0
 .../tests => unittests}/piglit_test_tests.py       |  2 +-
 {framework/tests => unittests}/profile_tests.py    |  2 +-
 {framework/tests => unittests}/results_tests.py    |  2 +-
 {framework/tests => unittests}/run_parser_tests.py |  2 +-
 {framework/tests => unittests}/schema/junit-7.xsd  |  0
 .../tests => unittests}/shader_test_tests.py       |  2 +-
 {framework/tests => unittests}/status_tests.py     |  2 +-
 .../tests => unittests}/summary_common_tests.py    |  2 +-
 .../tests => unittests}/summary_console_tests.py   |  0
 .../tests => unittests}/summary_html_tests.py      |  2 +-
 {framework/tests => unittests}/test_lists.py       |  2 +-
 {framework/tests => unittests}/utils.py            |  0
 35 files changed, 41 insertions(+), 53 deletions(-)
 rename {framework/tests => unittests}/__init__.py (100%)
 rename {framework/tests => unittests}/backends_tests.py (99%)
 rename {framework/tests => unittests}/base_tests.py (98%)
 rename {framework/tests => unittests}/compressed_backend_tests.py (99%)
 rename {framework/tests => unittests}/core_tests.py (99%)
 rename {framework/tests => unittests}/deqp_tests.py (99%)
 rename {framework/tests => unittests}/dmesg_tests.py (100%)
 rename {framework/tests => unittests}/exceptions_tests.py (98%)
 rename {framework/tests => unittests}/gleantest_tests.py (99%)
 rename {framework/tests => unittests}/glsl_parser_test_tests.py (99%)
 rename {framework/tests => unittests}/grouptools_tests.py (99%)
 rename {framework/tests => unittests}/gtest_tests.py (97%)
 rename {framework/tests => unittests}/integration_tests.py (100%)
 rename {framework/tests => unittests}/json_backend_tests.py (99%)
 rename {framework/tests => unittests}/json_results_update_tests.py (99%)
 rename {framework/tests => unittests}/json_tests.py (99%)
 rename {framework/tests => unittests}/junit_backends_tests.py (99%)
 rename {framework/tests => unittests}/log_tests.py (99%)
 rename {framework/tests => unittests}/oglconform_tests.py (99%)
 rename {framework/tests => unittests}/opencv_tests.py (97%)
 rename {framework/tests => unittests}/opengl_tests.py (99%)
 rename {framework/tests => unittests}/options_tests.py (100%)
 rename {framework/tests => unittests}/piglit_test_tests.py (99%)
 rename {framework/tests => unittests}/profile_tests.py (99%)
 rename {framework/tests => unittests}/results_tests.py (99%)
 rename {framework/tests => unittests}/run_parser_tests.py (99%)
 rename {framework/tests => unittests}/schema/junit-7.xsd (100%)
 rename {framework/tests => unittests}/shader_test_tests.py (99%)
 rename {framework/tests => unittests}/status_tests.py (99%)
 rename {framework/tests => unittests}/summary_common_tests.py (99%)
 rename {framework/tests => unittests}/summary_console_tests.py (100%)
 rename {framework/tests => unittests}/summary_html_tests.py (97%)
 rename {framework/tests => unittests}/test_lists.py (98%)
 rename {framework/tests => unittests}/utils.py (100%)

-- 
2.6.4



More information about the Piglit mailing list