[macruby-changes] [3896] MacRuby/trunk/spec/macruby.mspec
source_changes at macosforge.org
source_changes at macosforge.org
Tue Mar 30 12:19:08 PDT 2010
Revision: 3896
http://trac.macosforge.org/projects/ruby/changeset/3896
Author: eloy.de.enige at gmail.com
Date: 2010-03-30 12:19:05 -0700 (Tue, 30 Mar 2010)
Log Message:
-----------
Add command-line specs to the list of specs to be ran
Modified Paths:
--------------
MacRuby/trunk/spec/macruby.mspec
Modified: MacRuby/trunk/spec/macruby.mspec
===================================================================
--- MacRuby/trunk/spec/macruby.mspec 2010-03-30 01:18:45 UTC (rev 3895)
+++ MacRuby/trunk/spec/macruby.mspec 2010-03-30 19:19:05 UTC (rev 3896)
@@ -5,10 +5,13 @@
FROZEN_PREFIX = 'spec/frozen'
load File.join(FROZEN_PREFIX, 'ruby.1.9.mspec')
+ # Command-line specs
+ set :command_line, ['command_line']
+
# Core library specs
set :core, [
'core',
-
+
# obsolete in 1.9
'^core/continuation',
'^core/kernel/callcc_spec.rb',
@@ -17,13 +20,13 @@
'^core/encoding',
'^core/io'
]
-
+
# Library specs
set :library, [
'library',
# Currently not working on MacRuby
- '^library/cgi/htmlextension',
+ '^library/cgi/htmlextension', # runs fine when run separately, it seems another spec brings IO in a wrong state
'^library/continuation',
'^library/erb',
'^library/fiber',
@@ -45,7 +48,7 @@
]
# Prepend the paths with the proper prefix
- [:language, :core, :library].each do |pseudo_dir|
+ [:command_line, :language, :core, :library].each do |pseudo_dir|
set(pseudo_dir, get(pseudo_dir).map do |path|
if path[0,1] == '^'
"^#{File.join(FROZEN_PREFIX, path[1..-1])}"
@@ -56,7 +59,7 @@
end
set :macruby, ['spec/macruby']
- set :rubyspec, get(:language) + get(:core) + get(:library)
+ set :rubyspec, get(:command_line) + get(:language) + get(:core) + get(:library)
set :full, get(:macruby) + get(:rubyspec)
# Optional library specs
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20100330/6b092022/attachment.html>
More information about the macruby-changes
mailing list