]> code.ossystems Code Review - openembedded-core.git/commit
python3-hypothesis: enable ptest
authorTim Orling <ticotimo@gmail.com>
Sun, 22 Aug 2021 03:39:41 +0000 (20:39 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 22 Aug 2021 21:21:12 +0000 (22:21 +0100)
commit1c7f6f444fdcb859a37d3b51a8d47260834d01db
tree09953062572dc6fe2d781cc7dfe6fd02c0cdaf62
parentca0039a6e5524ab1e74df285ce16460dc980da65
python3-hypothesis: enable ptest

The upstream "fast" tests (tests/cover and tests/pytest) take over
5 minutes to run and do not run cleanly. They also add dependency
on python3-pexpect and python3-ptyprocess (currently in meta-python).

The tests are also not included in the pypi tarball, so it would
require use of git fetcher and other invasive changes to the recipe,
including dropping the pypi inherit.

Instead, use two test suites from examples/

References:
https://github.com/HypothesisWorks/hypothesis/tree/master/hypothesis-python/tests
https://github.com/HypothesisWorks/hypothesis/tree/master/hypothesis-python/examples

Signed-off-by: Tim Orling <timothy.t.orling@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/conf/distro/include/ptest-packagelists.inc
meta/recipes-devtools/python/python3-hypothesis/run-ptest [new file with mode: 0644]
meta/recipes-devtools/python/python3-hypothesis/test_binary_search.py [new file with mode: 0644]
meta/recipes-devtools/python/python3-hypothesis/test_rle.py [new file with mode: 0644]
meta/recipes-devtools/python/python3-hypothesis_6.15.0.bb