diff options
author | Simon Glass <sjg@chromium.org> | 2017-11-25 11:57:32 -0700 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2017-12-02 18:32:58 -0500 |
commit | 1f0fe88db11ebf99f860504bf4132fb97740504c (patch) | |
tree | a04150a37838bbfcaa0415a40ad496321ebf8877 /test | |
parent | 49f22c38f194d5704991d02d9d479d46aa0d8a57 (diff) | |
download | u-boot-1f0fe88db11ebf99f860504bf4132fb97740504c.zip u-boot-1f0fe88db11ebf99f860504bf4132fb97740504c.tar.gz u-boot-1f0fe88db11ebf99f860504bf4132fb97740504c.tar.bz2 |
test/py: Allow any unit test suite to be found
The u-boot.sym file is scanned to find unit test suites for execution. At
present it only finds those whose names start with 'dm' or 'env'. This
code is buried in the bowels of the test code so when adding a new suite
it is not easy to discover why it is ignored by the test framework.
There seems to be no need to make this restriction. Drop it.
Signed-off-by: Simon Glass <sjg@chromium.org>
Acked-by: Stephen Warren <swarren@nvidia.com>
Diffstat (limited to 'test')
-rw-r--r-- | test/py/conftest.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/py/conftest.py b/test/py/conftest.py index 6e66a48..3fe91e8 100644 --- a/test/py/conftest.py +++ b/test/py/conftest.py @@ -200,7 +200,7 @@ def pytest_configure(config): import u_boot_console_exec_attach console = u_boot_console_exec_attach.ConsoleExecAttach(log, ubconfig) -re_ut_test_list = re.compile(r'_u_boot_list_2_(dm|env)_test_2_\1_test_(.*)\s*$') +re_ut_test_list = re.compile(r'_u_boot_list_2_(.*)_test_2_\1_test_(.*)\s*$') def generate_ut_subtest(metafunc, fixture_name): """Provide parametrization for a ut_subtest fixture. |