Skip to content

Commit

Permalink
Added simple script to launch miniruby in 32 bit mode and added spec:…
Browse files Browse the repository at this point in the history
…ci32 task to run the specs in 32 bit mode.

git-svn-id: http://svn.macosforge.org/repository/ruby/MacRuby/branches/experimental@1391 23306eb0-4c56-4727-a40e-e92c0eb68959
  • Loading branch information
eloy.de.enige@gmail.com committed Apr 7, 2009
1 parent 6f109b0 commit 321cc9b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
3 changes: 3 additions & 0 deletions miniruby32
@@ -0,0 +1,3 @@
#!/usr/bin/env ruby

exec "/usr/bin/arch -arch i386 ./miniruby #{ARGV.map { |a| a.inspect }.join(' ')}"
5 changes: 5 additions & 0 deletions rakelib/spec.rake
Expand Up @@ -70,6 +70,11 @@ namespace :spec do
sh "./mspec/bin/mspec ci -B ./spec/frozen/macruby.mspec spec/frozen/language #{KNOWN_GOOD_CORE_IO_FILES.join(' ')}"
end

desc "Run continuous integration language examples (all known good examples) (32 bit mode)"
task :ci32 do
sh "./miniruby32 ./mspec/bin/mspec-ci -B ./spec/frozen/macruby.mspec spec/frozen/language #{KNOWN_GOOD_CORE_IO_FILES.join(' ')}"
end

desc "Run IO test with GDB enabled"
task :gdbio do
sh "gdb --args ./miniruby -v -I./mspec/lib -I./lib ./mspec/bin/mspec-run #{KNOWN_GOOD_CORE_IO_FILES.join(' ')}"
Expand Down

0 comments on commit 321cc9b

Please sign in to comment.