Commit Graph

56 Commits

Author SHA1 Message Date
Trevor Gamblin
d59f6c7529 meta-python: update ptests status for py-cpuinfo, pytest-mock
Move python3-py-cpuinfo and python3-pytest-mock into the FAST ptests
list since their failing ptests are being disabled.

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-10-13 13:23:50 -07:00
Khem Raj
def4759e95 meta-python-ptest-fast-image: Do not run python3-pytest-mock ptests
These ptests fail as of now.

==============================================================================================================
Failed test cases (sorted by testseries, ID)
==============================================================================================================
--------------------------------------------------------------------------------------------------------------
testseries | result_id : oeqa | runtime_meta-python-ptest-image-python3-pytest-mock_qemux86-64_20230606201650
    ptestresult.python3-pytest-mock.tests/test_pytest_mock.py::test_assert_called_args_with_introspection
    ptestresult.python3-pytest-mock.tests/test_pytest_mock.py::test_assert_called_kwargs_with_introspection
    ptestresult.python3-pytest-mock.tests/test_pytest_mock.py::test_detailed_introspection_async
    ptestresult.python3-pytest-mock.tests/test_pytest_mock.py::test_plain_stopall
    ptestresult.python3-pytest-mock.tests/test_pytest_mock.py::test_used_with_class_scope
    ptestresult.python3-pytest-mock.tests/test_pytest_mock.py::test_used_with_module_scope
    ptestresult.python3-pytest-mock.tests/test_pytest_mock.py::test_used_with_package_scope
    ptestresult.python3-pytest-mock.tests/test_pytest_mock.py::test_used_with_session_scope
--------------------------------------------------------------------------------------------------------------

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-06-06 23:07:59 -07:00
Khem Raj
8d18ce1434 ptest-packagelists-meta-python: Add python3-pylint to PTESTS_FAST_META_PYTHON
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-05-23 08:48:18 -07:00
Trevor Gamblin
2d0ae4c205 ptest-packagelists-meta-python: Add new tests
Add ptests for python3-platformdirs.

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-05-12 12:48:52 -07:00
Trevor Gamblin
fba2b872ac ptest-packagelists-meta-python: Add new tests
Add ptests for python3-pytest-mock, python3-tomlkit.

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-05-09 17:13:13 -07:00
Tim Orling
69d921a342 ptest-packagelists-meta-python.inc: add ptest recipes
Similar to ptest-packagelists.inc in oe-core, this list enables
per image ptest (isolated ptests for a given recipe)

* Add recipes to PTEST_FAST_META_PYTHON for ptests which take less than ~30s
* Add recipes to PTEST_SLOW_META_PYTHON for ptests which take longer
* Add recipes to PTEST_PROBLEMS_META_PYTHON for ptests which have failing tests
  or other issues with ptest package

The initial list was taken from:

meta_python_ptest_recipes=$(bitbake-layers show-recipes --recipes-only \
      --layer meta-python --inherits ptest --bare | tr '\n' ' ' | \
      pcregrep -o1 '^NOTE:.+===(.+)$')

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-04-04 13:39:45 -07:00