0
0
mirror of https://github.com/termux/termux-packages.git synced 2025-05-12 07:53:30 +00:00
Files
termux-packages/packages/sbcl/disable-intermittently-failing-tests.patch
Robert Kirkman c6aaca0a40 addpkg(main/sbcl): 2.5.3
- Fixes https://github.com/termux/termux-packages/issues/948
- Partially fixes https://github.com/termux/termux-packages/issues/24176
- Partially fixes https://github.com/termux/termux-packages/issues/183

Previous attempts and progress:

- 880983e754 (2016)
- https://github.com/termux/termux-packages/pull/7625 (2021)
- https://github.com/termux/termux-packages/pull/14435 (2023)

This PR mainly implements the package in a termux-packages downstream-oriented way (heavy use of internal termux-packages repository code shared with other termux-packages).

There is discussion regarding the upstream-oriented way of implementation from the SBCL side (trying to non-cross-compile while avoiding use of any internal termux-packages repository code) here:
https://bugs.launchpad.net/sbcl/+bug/1956852
2025-04-25 21:28:07 -05:00

26 lines
918 B
Diff

These tests pass most of the time, but they intermittently fail rarely,
which could cause a problem for passing CI.
--- a/tests/arena.impure.lisp
+++ b/tests/arena.impure.lisp
@@ -590,7 +590,7 @@
(string (sb-vm:with-arena (a) (read-line stream))))
string)))
-(test-util:with-test (:name :read-line)
+(test-util:with-test (:name :read-line :skipped-on :android)
(test-read-line)
(assert (null (c-find-heap->arena))))
--- a/tests/stream.impure.lisp
+++ b/tests/stream.impure.lisp
@@ -697,7 +697,7 @@
;; We used to not return from read on a named pipe unless the external-format
;; routine had filled an input buffer. Now we'll return as soon as a request
;; is satisfied, or on EOF. (https://bugs.launchpad.net/sbcl/+bug/643686)
-#-win32
+#-(or win32 android)
(with-test (:name :overeager-character-buffering :skipped-on :win32)
(let ((use-threads #+sb-thread t)
(proc nil)