[#688] mkmf.rb - add files to clean and distclean targets — Michal Rokos <michal@...>

Hi,

25 messages 2003/01/15
[#722] Re: [RFC] mkmf.rb - add files to clean and distclean targets — Mathieu Bouchard <matju@...> 2003/01/20

On Thu, 16 Jan 2003, Michal Rokos wrote:

[#740] Re: [RFC] mkmf.rb - add files to clean and distclean targets — matz@... (Yukihiro Matsumoto) 2003/01/21

Hi,

[#724] Symbols: More Functionality Wanted — Ryan Pavlik <rpav@...>

I've been discussing this for a bit on #ruby-lang on OPN (or freenode or

23 messages 2003/01/20
[#728] Re: Symbols: More Functionality Wanted — matz@... (Yukihiro Matsumoto) 2003/01/20

Hi,

[#743] Re: Symbols: More Functionality Wanted — "Pit Capitain" <pit@...> 2003/01/21

On 20 Jan 2003 at 15:49, Yukihiro Matsumoto wrote:

[#767] Re: Symbols: More Functionality Wanted — Mathieu Bouchard <matju@...> 2003/01/22

[#768] Re: Symbols: More Functionality Wanted — dblack@... 2003/01/22

Hi --

[#779] Re: Symbols: More Functionality Wanted — Gavin Sinclair <gsinclair@...> 2003/01/23

On Thursday, January 23, 2003, 6:28:04 AM, dblack wrote:

Patches for Rubicon

From: "Nathaniel Talbott" <nathaniel@...>
Date: 2003-01-22 05:17:25 UTC
List: ruby-core #758
(Sorry if this is a duplicate)

I've been working with Rubicon lately, both to drive improvements in
Test::Unit and to figure out how to make Rubicon use Test::Unit
natively, and I've identified a few small things to clean up output
(especially on Win32). I'm not sure if this is the right place to bring
up modifications to Rubicon, but figured I'd try here first. If there's
somewhere else this should be directed, just let me know.

Thanks,


Nathaniel

<:((><
+ - -
| RoleModel Software, Inc.
| EQUIP VI


Index: rubicon.rb
===================================================================
RCS file: /src/rubicon/rubicon.rb,v
retrieving revision 1.40
diff -u -r1.40 rubicon.rb
--- rubicon.rb	28 Sep 2002 04:50:25 -0000	1.40
+++ rubicon.rb	22 Jan 2003 01:57:52 -0000
@@ -49,8 +49,11 @@
       begin
         yield
       rescue RUNIT::AssertionFailedError => err
+        $stderr.puts
+        $stderr.puts
         $stderr.puts "Ignoring known problem: #{err.message}"
         $stderr.puts err.backtrace[0]
+        $stderr.puts
       end
     else
       yield
Index: builtin/TestDir.rb
===================================================================
RCS file: /src/rubicon/builtin/TestDir.rb,v
retrieving revision 1.18
diff -u -r1.18 TestDir.rb
--- builtin/TestDir.rb	7 Oct 2002 08:00:23 -0000	1.18
+++ builtin/TestDir.rb	22 Jan 2003 01:57:53 -0000
@@ -12,7 +12,7 @@
   end
 
   def delete_test_dir
-    MsWin32.only do sys("del _test /s /q") end
+    MsWin32.only do sys("del _test /s /q >nul") end
     MsWin32.dont do sys("rm _test/*") end
   end
 
Index: builtin/TestKernel.rb
===================================================================
RCS file: /src/rubicon/builtin/TestKernel.rb,v
retrieving revision 1.37
diff -u -r1.37 TestKernel.rb
--- builtin/TestKernel.rb	30 Dec 2002 07:57:17 -0000	1.37
+++ builtin/TestKernel.rb	22 Jan 2003 01:57:56 -0000
@@ -530,12 +530,24 @@
   def test_s_BACKTICK
     assert_equal("hello\n", `echo hello`)
     assert_equal(0, $?)
-    assert_equal("", `not_a_valid_command 2>/dev/null`)
+    
+    MsWin32.dont do
+      assert_equal("", `not_a_valid_command 2>/dev/null`)
+    end
+    MsWin32.only do
+      assert_equal("", `not_a_valid_command 2>nul`)
+    end
     assert($? != 0)
 
     assert_equal("hello\n", %x{echo hello})
     assert_equal(0, $?)
-    assert_equal("", %x{not_a_valid_command 2>/dev/null})
+    
+    MsWin32.dont do
+      assert_equal("", %x{not_a_valid_command 2>/dev/null})
+    end
+    MsWin32.only do
+      assert_equal("", %x{not_a_valid_command 2>nul})
+    end
     assert($? != 0)
   end
 


In This Thread

Prev Next