[macruby-changes] [1016] MacRuby/branches/experimental
source_changes at macosforge.org
source_changes at macosforge.org
Fri Mar 20 01:49:37 PDT 2009
Revision: 1016
http://trac.macosforge.org/projects/ruby/changeset/1016
Author: eloy.de.enige at gmail.com
Date: 2009-03-20 01:49:34 -0700 (Fri, 20 Mar 2009)
Log Message:
-----------
For now run each language spec directly from the Rakefile as roxor is not capable yet of going through the mspec script. Basically the net result would be the same.
Modified Paths:
--------------
MacRuby/branches/experimental/mspec/lib/mspec/helpers/ruby_exe.rb
MacRuby/branches/experimental/rakelib/spec.rake
Modified: MacRuby/branches/experimental/mspec/lib/mspec/helpers/ruby_exe.rb
===================================================================
--- MacRuby/branches/experimental/mspec/lib/mspec/helpers/ruby_exe.rb 2009-03-20 08:14:53 UTC (rev 1015)
+++ MacRuby/branches/experimental/mspec/lib/mspec/helpers/ruby_exe.rb 2009-03-20 08:49:34 UTC (rev 1016)
@@ -114,6 +114,8 @@
end
end
+ RUBY_EXE = './miniruby'
+
unless Object.const_defined?(:RUBY_EXE) and RUBY_EXE
require 'rbconfig'
Modified: MacRuby/branches/experimental/rakelib/spec.rake
===================================================================
--- MacRuby/branches/experimental/rakelib/spec.rake 2009-03-20 08:14:53 UTC (rev 1015)
+++ MacRuby/branches/experimental/rakelib/spec.rake 2009-03-20 08:49:34 UTC (rev 1016)
@@ -13,6 +13,9 @@
desc "Run language examples"
task :language do
- sh "#{MSPEC} spec/frozen/language/**/*_spec.rb"
+ #sh "#{MSPEC} spec/frozen/language/**/*_spec.rb"
+ Dir.glob('spec/frozen/language/**/*_spec.rb').each do |spec|
+ sh "#{MSPEC}-run #{spec}"
+ end
end
end
\ No newline at end of file
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20090320/a49ec9fd/attachment-0001.html>
More information about the macruby-changes
mailing list