[macruby-changes] [887] MacRuby/branches/experimental/test_roxor.rb

source_changes at macosforge.org source_changes at macosforge.org
Wed Mar 11 19:13:39 PDT 2009


Revision: 887
          http://trac.macosforge.org/projects/ruby/changeset/887
Author:   pthomson at apple.com
Date:     2009-03-11 19:13:39 -0700 (Wed, 11 Mar 2009)
Log Message:
-----------
Made the architectures for test_roxor.rb dependent on the result of the arch command.

Modified Paths:
--------------
    MacRuby/branches/experimental/test_roxor.rb

Modified: MacRuby/branches/experimental/test_roxor.rb
===================================================================
--- MacRuby/branches/experimental/test_roxor.rb	2009-03-12 02:07:47 UTC (rev 886)
+++ MacRuby/branches/experimental/test_roxor.rb	2009-03-12 02:13:39 UTC (rev 887)
@@ -5,7 +5,8 @@
 # use the rubyspec directory instead.
 
 $test_ruby = File.join(Dir.pwd, 'miniruby')
-$test_ruby_archs = ['i386', 'x86_64']
+$test_ruby_archs = ['i386']
+$test_ruby_archs << 'x86_64' if system("arch -x86_64 ./miniruby -e ''")
 $test_only = ARGV
 $problems = []
 $assertions_count = 0
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20090311/d4785a1d/attachment.html>


More information about the macruby-changes mailing list