[macruby-changes] [2287] MacRuby/trunk/rakelib/spec.rake
source_changes at macosforge.org
source_changes at macosforge.org
Tue Aug 11 14:59:09 PDT 2009
Revision: 2287
http://trac.macosforge.org/projects/ruby/changeset/2287
Author: eloy.de.enige at gmail.com
Date: 2009-08-11 14:59:06 -0700 (Tue, 11 Aug 2009)
Log Message:
-----------
Removed old workaround to run the specs from the source root from the rake tasks.
Modified Paths:
--------------
MacRuby/trunk/rakelib/spec.rake
Modified: MacRuby/trunk/rakelib/spec.rake
===================================================================
--- MacRuby/trunk/rakelib/spec.rake 2009-08-11 20:54:29 UTC (rev 2286)
+++ MacRuby/trunk/rakelib/spec.rake 2009-08-11 21:59:06 UTC (rev 2287)
@@ -3,15 +3,7 @@
DEFAULT_OPTIONS = "-B #{MACRUBY_MSPEC}"
def mspec(type, options)
- old_path = ENV['DYLD_LIBRARY_PATH']
- new_path = '.'
- new_path << ":#{old_path}" if old_path
- begin
- ENV['DYLD_LIBRARY_PATH'] = new_path
- sh "./mspec/bin/mspec #{type} #{DEFAULT_OPTIONS} #{ENV['opts']} #{options}"
- ensure
- ENV['DYLD_LIBRARY_PATH'] = old_path
- end
+ sh "./mspec/bin/mspec #{type} #{DEFAULT_OPTIONS} #{ENV['opts']} #{options}"
end
desc "Run continuous integration language examples (all known good examples)"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20090811/1d64d68f/attachment-0001.html>
More information about the macruby-changes
mailing list