[#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:65414] [ruby-trunk - Bug #10325] [Assigned] [PATCH] test_string (test_LSHIFT_neary_long_max): skip if low on memory

From: nobu@...
Date: 2014-10-05 09:48:14 UTC
List: ruby-core #65414
Issue #10325 has been updated by Nobuyoshi Nakada.

Status changed from Open to Assigned
Assignee set to Eric Wong

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.

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

* 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