From 924ab1b7fd0e38706eb1f92170788e3ed6c42217 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Sun, 19 Feb 2023 22:35:52 +0000 Subject: 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) --- test/readline/test_readline.rb | 3 +++ 1 file changed, 3 insertions(+) (limited to 'test/readline/test_readline.rb') 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 -- cgit v1.2.3