summaryrefslogtreecommitdiff
path: root/test/readline
diff options
context:
space:
mode:
authorEric Wong <normal@ruby-lang.org>2023-02-19 22:35:52 +0000
committerEric Wong <normal@ruby-lang.org>2023-02-19 22:39:28 +0000
commit924ab1b7fd0e38706eb1f92170788e3ed6c42217 (patch)
treec7b9e0e53110c7956086b5b8319f1137377b24db /test/readline
parent3b239d2480123046a59a75f1089ab58d192b9c57 (diff)
test/readline/test_readline.rb: skip a test x86_64-linux-(x32|i[3-6]86)
I run a 32-bit (x86) userspace on a 64-bit kernel to save memory and this test fails for the same reason it does on pure 32-bit platforms. Followup-to: 6cf7c0a48fb07a76 (test/readline/test_readline.rb: skip a test on i686-linux, 2021-11-09)
Diffstat (limited to 'test/readline')
-rw-r--r--test/readline/test_readline.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/readline/test_readline.rb b/test/readline/test_readline.rb
index be6e65f32e..abbb527416 100644
--- a/test/readline/test_readline.rb
+++ b/test/readline/test_readline.rb
@@ -496,6 +496,9 @@ module BasetestReadline
# Maybe the same issue: https://github.com/facebookresearch/nle/issues/120
omit if /i[3-6]86-linux/ =~ RUBY_PLATFORM
+ # likewise with 32-bit userspace on 64-bit kernel
+ omit if /\Ax86_64-linux-(?:x32|i[3-6]686)\z/ =~ RUBY_PLATFORM
+
if defined?(TestReadline) && self.class == TestReadline
use = "use_ext_readline"
elsif defined?(TestRelineAsReadline) && self.class == TestRelineAsReadline