Trevor Gamblin
0cb7199a8d
python3-numpy: fix ptests
...
Fix the numpy ptests by doing the following:
- Add meson to ptest RDEPENDS in the recipe;
- Add python3-unittest-automake-output as a ptest RDEPENDS;
- Convert run-ptest to a shell script that sets PYTEST_DEBUG_TEMPROOT to
a directory inside the same path that contains the script, create that
directory, and then invoke the tests with `pytest --automake` pointed
at the numpy path in site-packages (copying the tests into the normal
PTEST_DIRECTORY seems to cause module import breakages in some tests).
This also includes skipping two problematic tests which require a C
compiler and use up a lot of space, respectively;
- Set 'IMAGE_ROOTFS_EXTRA_SPACE = "3048576"' for python3-numpy in
core-image-ptest.bb;
- Also set 'QB_MEM:virtclass-mcextend-python3-numpy = "-m 4096"' in
core-image-ptest.bb;
- Move python3-numpy from the PTESTS_PROBLEMS list to the PTESTS_SLOW
one.
Results on qemux86-64:
Testsuite summary
DURATION: 87
END: /usr/lib/python3-numpy/ptest
2025-04-29T17:35
STOP: ptest-runner
TOTAL: 1 FAIL: 0
Note that many of the skipped tests are due to the absence of
python3-mypy (which is currently in meta-python) and of a Fortran
compiler.
(From OE-Core rev: 7f0b5e8faa1b246531ac425c99a629eb344b21e2)
Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com >
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org >
2025-05-01 14:22:53 +01:00
..
2025-05-01 14:22:53 +01:00
2025-02-11 11:44:19 +00:00
2025-03-17 22:38:32 +00:00
2024-11-21 12:16:28 +00:00
2025-04-24 11:47:23 +01:00
2024-10-22 12:28:17 +01:00
2023-07-10 11:36:34 +01:00
2024-11-01 12:13:18 +00:00
2024-11-04 14:34:42 +00:00
2025-04-16 17:41:30 +01:00
2025-05-01 14:22:53 +01:00
2024-11-12 11:09:51 +00:00
2024-09-04 12:38:44 +01:00
2024-10-01 12:40:48 +01:00
2025-02-05 12:49:55 +00:00
2025-04-24 11:27:06 +01:00
2025-04-03 11:06:20 +01:00
2022-02-25 15:07:50 +00:00
2025-04-20 10:11:16 +01:00
2025-05-01 14:22:53 +01:00
2024-08-15 14:51:55 +01:00
2024-02-20 11:39:45 +00:00
2025-01-08 12:37:20 +00:00
2025-03-17 22:38:32 +00:00
2025-02-18 22:53:45 +00:00
2025-03-06 11:16:47 +00:00
2025-03-06 11:16:47 +00:00
2025-04-03 11:06:20 +01:00
2024-12-17 11:41:53 +00:00
2024-09-30 17:00:51 +01:00
2025-04-10 11:05:34 +01:00
2025-02-05 12:49:55 +00:00
2025-02-11 11:44:19 +00:00
2024-07-24 22:51:39 +01:00
2025-01-09 16:59:23 +00:00
2025-03-17 22:38:32 +00:00
2025-03-17 22:38:32 +00:00
2025-03-17 22:38:32 +00:00
2025-03-17 22:38:32 +00:00
2025-02-18 22:53:45 +00:00
2025-03-20 11:29:04 +00:00
2024-12-24 13:49:27 +00:00
2024-07-03 14:57:50 +01:00
2024-12-05 17:07:10 +00:00
2025-02-18 22:53:45 +00:00
2023-08-14 12:51:21 +01:00
2018-07-30 12:44:35 +01:00
2025-04-10 11:05:34 +01:00
2024-12-17 11:41:53 +00:00
2025-01-09 15:26:50 +00:00
2024-12-17 11:41:53 +00:00
2024-12-17 11:41:53 +00:00
2024-12-24 13:49:27 +00:00
2025-04-24 11:47:23 +01:00
2025-01-08 12:37:20 +00:00
2025-03-18 10:27:31 +00:00
2025-04-03 11:06:20 +01:00
2024-10-22 12:28:17 +01:00
2024-02-20 11:39:45 +00:00
2025-03-17 22:38:32 +00:00
2024-07-26 12:28:42 +01:00
2024-11-01 12:13:18 +00:00
2024-12-17 11:41:53 +00:00
2025-01-08 12:37:20 +00:00
2025-02-18 11:56:03 +00:00
2025-04-10 11:05:34 +01:00
2024-02-20 11:39:45 +00:00
2025-02-18 22:53:45 +00:00
2024-12-17 11:41:53 +00:00
2025-01-08 12:37:20 +00:00
2025-04-23 09:47:42 +01:00
2025-03-17 22:38:32 +00:00
2024-12-17 11:41:53 +00:00
2025-02-05 12:49:55 +00:00
2024-12-17 11:41:53 +00:00
2025-05-01 14:22:53 +01:00
2024-11-18 22:09:03 +00:00
2024-07-24 22:51:40 +01:00
2024-09-04 12:38:44 +01:00
2025-04-17 11:03:22 +01:00
2025-04-17 11:03:22 +01:00
2025-04-10 11:05:34 +01:00
2025-01-08 12:37:20 +00:00
2025-02-18 22:53:45 +00:00
2025-01-08 12:37:20 +00:00
2024-02-20 11:39:45 +00:00
2025-04-03 11:06:20 +01:00
2022-03-16 08:48:08 +00:00
2025-02-18 22:53:45 +00:00
2025-01-08 12:37:20 +00:00
2024-09-30 17:00:51 +01:00
2024-05-15 16:39:19 +01:00
2025-03-19 11:49:45 +00:00
2025-03-19 11:49:45 +00:00
2025-03-06 11:16:47 +00:00
2025-02-05 12:49:55 +00:00
2025-04-03 11:06:20 +01:00
2025-02-05 12:49:55 +00:00
2025-04-03 11:06:20 +01:00
2024-12-17 11:41:53 +00:00
2025-03-17 22:38:32 +00:00
2024-02-20 11:39:45 +00:00
2024-12-17 11:41:53 +00:00
2025-03-06 11:16:47 +00:00
2024-12-24 13:49:28 +00:00
2025-04-03 11:06:20 +01:00
2025-01-08 12:37:20 +00:00
2025-04-03 11:06:20 +01:00
2025-02-05 12:49:55 +00:00
2025-04-11 11:49:59 +01:00
2024-12-17 11:41:53 +00:00
2022-02-20 16:45:25 +00:00
2025-03-11 21:29:50 +00:00
2025-04-03 11:06:20 +01:00
2025-04-03 11:06:20 +01:00
2025-02-05 12:49:56 +00:00
2025-04-03 11:06:20 +01:00
2024-12-17 11:41:53 +00:00
2025-04-03 11:06:20 +01:00
2025-03-17 22:38:32 +00:00
2025-04-03 11:06:20 +01:00
2024-12-24 13:49:28 +00:00
2024-12-17 11:41:53 +00:00
2024-02-20 11:39:45 +00:00
2022-03-18 23:27:27 +00:00
2021-05-21 15:18:23 +01:00
2024-10-11 12:17:02 +01:00
2025-02-27 10:55:17 +00:00
2024-12-17 11:41:53 +00:00
2024-12-17 11:41:53 +00:00
2024-12-17 11:41:53 +00:00
2024-12-17 11:41:53 +00:00
2024-03-07 17:25:02 +00:00
2023-04-13 13:53:44 +01:00
2024-12-17 11:41:53 +00:00
2024-12-17 11:41:53 +00:00
2024-07-24 22:51:40 +01:00
2024-06-25 11:50:58 +01:00
2025-04-03 11:06:20 +01:00
2025-04-10 11:05:34 +01:00
2025-02-10 13:03:58 +00:00
2025-04-20 10:11:16 +01:00
2025-01-08 12:37:20 +00:00
2025-01-03 10:51:27 +00:00
2021-11-26 17:01:08 +00:00
2025-01-08 12:37:20 +00:00
2025-04-10 11:05:34 +01:00
2025-03-17 22:38:32 +00:00
2024-11-27 16:44:48 +00:00
2025-01-08 12:37:20 +00:00
2025-04-03 11:06:20 +01:00
2024-11-27 14:58:48 +00:00
2020-06-23 12:31:03 +01:00
2024-02-20 11:39:45 +00:00
2024-06-07 23:21:42 +01:00
2024-12-24 13:49:28 +00:00