[#17566] rubychecker - runs checks on a Ruby interpreter — Igal Koshevoy <igal@...>

I've put together a shell script that runs checks on a Ruby interpreter.

14 messages 2008/07/03

[#17615] [PATCH] ruby-mode.el: Fix here-doc strings with inner quotes — Nathan Weizenbaum <nex342@...>

At the moment, ruby-mode.el uses font-lock-keywords as opposed to

22 messages 2008/07/05
[#17657] Re: [PATCH] ruby-mode.el: Fix here-doc strings with inner quotes — Yukihiro Matsumoto <matz@...> 2008/07/08

[#17678] Re: [PATCH] ruby-mode.el: Fix here-doc strings with inner quotes — Nathan Weizenbaum <nex342@...> 2008/07/09

It was designed to fix the following case:

[#17755] Re: [PATCH] ruby-mode.el: Fix here-doc strings with inner quotes — Nathan Weizenbaum <nex342@...> 2008/07/13

Here's a third patch that fixes a bug in the second and uses a quicker

[#17772] Re: [PATCH] ruby-mode.el: Fix here-doc strings with inner quotes — Nathan Weizenbaum <nex342@...> 2008/07/15

One more patch which fixes a few bugs in the the last one.

[#17773] Re: [PATCH] ruby-mode.el: Fix here-doc strings with inner quotes — Nobuyoshi Nakada <nobu@...> 2008/07/15

Hi,

[#17776] Re: [PATCH] ruby-mode.el: Fix here-doc strings with inner quotes — Nathan Weizenbaum <nex342@...> 2008/07/15

Looks like version 22 doesn't support explicitly numbered regexp groups.

[#17779] Re: [PATCH] ruby-mode.el: Fix here-doc strings with inner quotes — Nobuyoshi Nakada <nobu@...> 2008/07/15

Hi,

[#17783] Re: [PATCH] ruby-mode.el: Fix here-doc strings with inner quotes — Nobuyoshi Nakada <nobu@...> 2008/07/15

Hi,

[#17788] Re: [PATCH] ruby-mode.el: Fix here-doc strings with inner quotes — Nathan Weizenbaum <nex342@...> 2008/07/15

Alright, here's a version that fixes both the highlighting bug and the

[#17793] Re: [PATCH] ruby-mode.el: Fix here-doc strings with inner quotes — Nobuyoshi Nakada <nobu@...> 2008/07/16

Hi,

[#17644] Features to be included in Ruby 1.9.1 — "Yugui (Yuki Sonoda)" <yugui@...>

Hi, all

27 messages 2008/07/08

[#17674] [Ruby 1.8 - Bug #238] (Open) Ruby doesn't respect the Windows read-only flag — Jim Deville <redmine@...>

Issue #238 has been reported by Jim Deville.

10 messages 2008/07/08

[#17708] [Ruby 1.8 - Bug #252] (Open) Array#sort doesn't respect overridden <=> — Ryan Davis <redmine@...>

Issue #252 has been reported by Ryan Davis.

13 messages 2008/07/09

[#17871] duping the NilClass — "Nasir Khan" <rubylearner@...>

While nil is an object, calling dup on it causes TypeError. This doesnt seem

33 messages 2008/07/20
[#17872] Re: duping the NilClass — Urabe Shyouhei <shyouhei@...> 2008/07/20

Nasir Khan wrote:

[#17873] Re: duping the NilClass — "Meinrad Recheis" <meinrad.recheis@...> 2008/07/20

On Sun, Jul 20, 2008 at 7:55 PM, Urabe Shyouhei <shyouhei@ruby-lang.org>

[#17877] Re: duping the NilClass — Urabe Shyouhei <shyouhei@...> 2008/07/20

Meinrad Recheis wrote:

[#17879] Re: duping the NilClass — Kurt Stephens <ks@...> 2008/07/20

Urabe Shyouhei wrote:

[#17880] Re: duping the NilClass — "Nasir Khan" <rubylearner@...> 2008/07/21

I write a lot of hand crafted dup or clone because I want control as well as

[#17881] Re: duping the NilClass — "David A. Black" <dblack@...> 2008/07/21

Hi --

[#17882] Re: duping the NilClass — Urabe Shyouhei <shyouhei@...> 2008/07/21

+1 to David. A convenient way to do Marshal idiom should be a new

[#17885] Re: duping the NilClass — "Robert Dober" <robert.dober@...> 2008/07/21

On Mon, Jul 21, 2008 at 8:21 AM, Urabe Shyouhei <shyouhei@ruby-lang.org> wrote:

[#17887] Re: duping the NilClass — "David A. Black" <dblack@...> 2008/07/21

Hi --

[#17889] Re: duping the NilClass — "Robert Dober" <robert.dober@...> 2008/07/21

On Mon, Jul 21, 2008 at 1:02 PM, David A. Black <dblack@rubypal.com> wrote:

[#17883] [Ruby 1.9 - Bug #340] (Open) 1.9/trunk does not work when compiled with llvm-gcc4 2.3 (gcc 4.2.1) — Ollivier Robert <redmine@...>

Issue #340 has been reported by Ollivier Robert.

14 messages 2008/07/21

[#17943] RUBY_ENGINE? — "Vladimir Sizikov" <vsizikov@...>

Hi,

56 messages 2008/07/24
[#17950] Re: RUBY_ENGINE? — Tanaka Akira <akr@...> 2008/07/25

In article <3454c9680807241200xf7cc766qb987905a3987bb78@mail.gmail.com>,

[#17958] Re: RUBY_ENGINE? — "Vladimir Sizikov" <vsizikov@...> 2008/07/25

Hi,

[#17981] Re: RUBY_ENGINE? — Tanaka Akira <akr@...> 2008/07/26

In article <3454c9680807250054i70db563duf44b42d92ba41bfb@mail.gmail.com>,

[ruby-core:17576] Re: rubychecker - runs checks on a Ruby interpreter

From: "M. Edward (Ed) Borasky" <znmeb@...>
Date: 2008-07-03 22:17:45 UTC
List: ruby-core #17576
Igal Koshevoy wrote:
> I've put together a shell script that runs checks on a Ruby interpreter. 
> This should make it easier to see if a certain release of the 
> interpreter passes our favorite suite of tests.
> 
> I've uploaded its test results for p36ubuntu, p111ubuntu, p238, p265 to:
>    http://code.google.com/p/rubychecker/downloads/list
> 
> You can install the program via:|
>    git clone git://github.com/igal/rubycheck_sh.git|
> 
> The usage instructions and dependencies are listed in the included 
> README.txt, which can also be seen at:
>    http://github.com/igal/rubycheck_sh/tree/master/README.txt
> 
> This script requires an installed copy of "ruby" to run against -- which 
> you may have just compiled, ran a make install against, and added to the 
> PATH (see README.txt for example). This is significant in that all this 
> script is doing is recording how that interpreter performs on external 
> test suites. If we want something that tests the compilation of the 
> interpreter and such, that belongs in another script.
> 
> When we get around to setting up a continuous integration (CI) system, 
> it'd make sense to have a wrapper script that builds Ruby and installs 
> it to a temporary directory (see README.txt for example), and then runs 
> this checker against it.
> 
> The currently runs the test suites for:
> - rubyspec head
> - rspec 1.1.4
> - rails 1.2.6
> - rails 2.0.2
> - rails 2.1.0
> 
> Adding additional suites is easy.
> 
> Running all these tests takes roughly 20 minutes.
> 
> I chose to write this with "bash" because it's portable and requires few 
> dependencies. Using shell also lets me write code that you can paste 
> into a terminal and easily debug, alter and follow, unlike, say "make". 
> However, if there's a desire to port to another language or tool, it'll 
> be easy enough to do so because this provides all the shell commands 
> that this other tool will need to run.
> 
> I've only tested this on my Ubuntu 7.10 AMD x2 and Ubuntu 8.04 Intel 
> Duo. It should be easy to port this to other UNIX variants.
> 
> What it doesn't work yet:
> - Any OS other than UNIX
> - Any Ruby interpreter other than MRI 1.8
> - ..?
> 
> Thoughts?
> 
> -igal
> 
> 

Looks good so far. I decided to go ahead with my profiling stuff, which 
I am building as a Rakefile (just giving myself one more chance to write 
a DRY one.) :) So I am going to add a task to download your shell script 
and run it. Right now, I'm installing the dependencies. It turns out 
that the only one that isn't in Gentoo Portage is "mspec".

-- 
M. Edward (Ed) Borasky
http://ruby-perspectives.blogspot.com/

"A mathematician is a machine for turning coffee into theorems." -- Paul 
Erdos

Attachments (1)

znmeb.vcf (141 Bytes, text/x-vcard)
begin:vcard
fn:M. Edward (Ed) Borasky
n:;M. Edward (Ed) Borasky
email;internet:znmeb@cesmail.net
x-mozilla-html:FALSE
version:2.1
end:vcard

In This Thread