diff options
author | Marian Buschsieweke <marian.buschsieweke@posteo.net> | 2024-04-16 23:10:30 +0200 |
---|---|---|
committer | omni <omni+alpine@hack.org> | 2024-04-16 23:22:55 +0000 |
commit | d0c2320be20a1043767e49c4161ae6fc6595d65e (patch) | |
tree | d3ece4a71a000f936c4996b3830bca7069e35bf6 | |
parent | 083c78ef4f29b0a1b21b6ae67e5078db10f684b5 (diff) |
testing/py3-litex: deselect slow tests in check()
Previously, two extra slow test cases did exceed the timeout of
12 minutes on the builders, causing the tests to fail. This just
disables the two slowest test cases.
-rw-r--r-- | testing/py3-litex/APKBUILD | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/testing/py3-litex/APKBUILD b/testing/py3-litex/APKBUILD index facef2a3897..fab2cce1e38 100644 --- a/testing/py3-litex/APKBUILD +++ b/testing/py3-litex/APKBUILD @@ -150,7 +150,13 @@ check() { echo "--> Testing LiteX core $_name" cd "$srcdir/lite$_core-$pkgver" - env PATH="$srcdir/testenv/bin:$PATH" "$srcdir/testenv/bin/python3" -m pytest -v + # running tests now, but deselecting two of the slowest tests + # (when unlucky, the run for longer than the 12 minute timeout and + # fail on the builder). + env PATH="$srcdir/testenv/bin:$PATH" "$srcdir/testenv/bin/python3" -m pytest -v \ + --deselect test/test_lpddr4.py::VerilatorLPDDR4Tests::test_lpddr4_sim_fast \ + --deselect test/test_lpddr4.py::VerilatorLPDDR4Tests::test_lpddr4_sim_x2rate_no_cache \ + # done } |