diff options
| author | Khem Raj <raj.khem@gmail.com> | 2025-08-11 12:54:37 -0700 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-08-14 10:31:10 +0100 |
| commit | e9e5247f44735f35fd4255c43dac9bd84ccfd5d0 (patch) | |
| tree | fab5133f97cea982aeec4a894d42a0e8de25d971 /meta/recipes-devtools/python/python3-numpy/run-ptest | |
| parent | 3e73d96d1be6e7d1b3e0ec3a8fba643724d10959 (diff) | |
| download | poky-e9e5247f44735f35fd4255c43dac9bd84ccfd5d0.tar.gz | |
python3-numpy: Skip running test_validate_transcendentals ptest
This test fails [1] with x86-64-v3, surfaces when we switch default
tune for qemux86-64 to be x86-64-v3 or newer
Test seems to compare exact floating point numbers but it might not be
precise enough and comparison may fail.
[1] https://github.com/numpy/numpy/issues/27460
(From OE-Core rev: aaf986bfa93b91a64cbf1c4e23b7fe961bdbb1f7)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/python/python3-numpy/run-ptest')
| -rw-r--r-- | meta/recipes-devtools/python/python3-numpy/run-ptest | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/recipes-devtools/python/python3-numpy/run-ptest b/meta/recipes-devtools/python/python3-numpy/run-ptest index 6e76dffc59..a1c80323d6 100644 --- a/meta/recipes-devtools/python/python3-numpy/run-ptest +++ b/meta/recipes-devtools/python/python3-numpy/run-ptest | |||
| @@ -11,5 +11,7 @@ mkdir -p "$PYTEST_DEBUG_TEMPROOT" | |||
| 11 | # test_mem_policy fails if there's no C compiler present, but we don't want to | 11 | # test_mem_policy fails if there's no C compiler present, but we don't want to |
| 12 | # include gcc as a ptest dependency, so skip that. test_big_arrays uses up a | 12 | # include gcc as a ptest dependency, so skip that. test_big_arrays uses up a |
| 13 | # large amount of storage, so skip that too. | 13 | # large amount of storage, so skip that too. |
| 14 | pytest --automake -m "not slow" -k "not test_mem_policy and not test_big_arrays" /usr/lib/python3.*/site-packages/numpy | 14 | # remove test_validate_transcendentals if |
| 15 | # https://github.com/numpy/numpy/issues/27460 is resolved | ||
| 16 | pytest --automake -m "not slow" -k "not test_mem_policy and not test_big_arrays and not test_validate_transcendentals" /usr/lib/python3.*/site-packages/numpy | ||
| 15 | rm -rf "$PYTEST_DEBUG_TEMPROOT" | 17 | rm -rf "$PYTEST_DEBUG_TEMPROOT" |
