Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lisa_tests: Split off lisa_tests #2140

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 0 additions & 18 deletions doc/kernel_tests.rst
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,6 @@ The following tests are available. They can be used as:
* the individual classes/methods they are composed of can be used in custom
scripts/jupyter notebooks (see ipynb/tests/synthetics_example.ipynb)

.. run-command::
:capture-stderr:

# Disable warnings to avoid dependencies to break the reStructuredText output
export PYTHONWARNINGS="ignore"
exekall run lisa lisa_tests --rst-list --inject-empty-target-conf

Running tests
=============

Expand Down Expand Up @@ -178,17 +171,6 @@ It can be executed using:

exekall run lisa lisa_tests.test_example --conf $LISA_CONF

.. exec::
# Check that links inside 'test_example.py' are not broken.
from lisa._doc.helpers import check_dead_links
from lisa_tests import test_example
check_dead_links(test_example.__file__)

.. literalinclude:: ../lisa_tests/test_example.py
:language: python
:pyobject: ExampleTestBundle
:linenos:

API
===

Expand Down
3 changes: 3 additions & 0 deletions doc/workflows/automated_testing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@ specified by :class:`~lisa.target.TargetConf`.
When pointed at folders (or packages), ``exekall`` will recursively look for
Python files.

.. note:: ``lisa_tests`` package is now distributed separately from the
``lisa`` package.

A subset of the tests can be selected using ``-s PATTERN``. The pattern is a
globbing-style pattern, where ``*`` stands as a wildcard. If the pattern starts
with an ``!``, no test matching that pattern will be selected. Use ``--list``
Expand Down
2 changes: 1 addition & 1 deletion lisa/_doc/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -450,7 +450,7 @@ def get_deprecated_map():
"""

# Import everything there is to import, so the map is fully populated
import_all_submodules(lisa)
import_all_submodules(lisa, best_effort=True)
return DEPRECATED_MAP

def get_deprecated_table():
Expand Down
2 changes: 1 addition & 1 deletion lisa/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ def sphinx_nitpick_ignore():
Set of objects to ignore without warning when cross referencing in Sphinx.
"""
# Make sure the set is populated
import_all_submodules(lisa)
import_all_submodules(lisa, best_effort=True)
return _SPHINX_NITPICK_IGNORE


Expand Down
6 changes: 0 additions & 6 deletions lisa_tests/README

This file was deleted.

162 changes: 0 additions & 162 deletions lisa_tests/arm/kernel/cpufreq/sanity.py

This file was deleted.

Loading
Loading