[#65451] [ruby-trunk - Feature #10333] [PATCH 3/1] optimize: "yoda literal" == string — ko1@...

Issue #10333 has been updated by Koichi Sasada.

9 messages 2014/10/07

[ruby-core:65416] [ruby-trunk - Bug #10325] [PATCH] test_string (test_LSHIFT_neary_long_max): skip if low on memory

From: normalperson@...
Date: 2014-10-05 10:20:36 UTC
List: ruby-core #65416
Issue #10325 has been updated by Eric Wong.


 nobu@ruby-lang.org wrote:
 > I'm not against that check, but we may enable that test only on 64bit
 > Windows, since it is nearly impossible to reproduce on other
 > platforms, because of memory usage.
 
 OK, can you add the 64-bit Windows check instead?
 I do not know the proper platform checks for those, there are so many.
 It think *BSD folks on smaller machines may appreciate it more.
 Thanks.

----------------------------------------
Bug #10325: [PATCH] test_string (test_LSHIFT_neary_long_max): skip if low on memory
https://bugs.ruby-lang.org/issues/10325#change-49205

* Author: Eric Wong
* Status: Assigned
* Priority: Normal
* Assignee: Eric Wong
* Category: test
* Target version: current: 2.2.0
* ruby -v: trunk
* Backport: 2.0.0: UNKNOWN, 2.1: UNKNOWN
----------------------------------------
I've been skipping this test for a while on my weaker systems,
but this makes it automated so it avoids triggering a swap storm
for Linux users less familiar with the test suite.

I think this only affects Linux which defaults to overcommit.  Asking
users to disable overcommit is unreasonable, so I figure this is the
best way...


---Files--------------------------------
0001-test-ruby-test_string-skip-test-if-low-on-memory.patch (1.88 KB)


-- 
https://bugs.ruby-lang.org/

In This Thread

Prev Next