Skip to content

Commit

Permalink
lisa_tests: Split off lisa_tests
Browse files Browse the repository at this point in the history
BREAKING CHANGE

Split lisa_tests package.
  • Loading branch information
douglas-raillard-arm committed Jan 8, 2024
1 parent ed05711 commit 09ec648
Show file tree
Hide file tree
Showing 19 changed files with 4 additions and 4,746 deletions.
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
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

0 comments on commit 09ec648

Please sign in to comment.