Hi, I'm un-jet lagging a bit, so I thought I'd update the ruby specs again. We are now passing: 18160 examples. @Matt: Great work on the StringScanner! Could you please make sure the specs run on 1.8 as well? Currently 4 fail: $ mspec -B ruby.1.8.mspec library/stringscanner StringScanner#getch is multi-byte character sensitive FAILED StringScanner#getch should keep the encoding ERROR StringScanner#initialize_copy is a private method FAILED StringScanner#initialize is a private method FAILED @Laurent: There were quite some changes to complex that you might want to look into since you recently worked on those :) Cheers, Eloy
Hi Eloy, Welcome back. Unfortunatelly, due to API changes, the specs can't all pass on 1.8 and 1.9 unless we use a version check mechanism. My understanding was that we should focus on 1.9.2 preview 1. What do you want me to do? - Matt Sent from my iPhone On Aug 2, 2009, at 6:42, Eloy Duran <eloy.de.enige@gmail.com> wrote:
Hi,
I'm un-jet lagging a bit, so I thought I'd update the ruby specs again. We are now passing: 18160 examples.
@Matt: Great work on the StringScanner! Could you please make sure the specs run on 1.8 as well? Currently 4 fail:
$ mspec -B ruby.1.8.mspec library/stringscanner
StringScanner#getch is multi-byte character sensitive FAILED StringScanner#getch should keep the encoding ERROR StringScanner#initialize_copy is a private method FAILED StringScanner#initialize is a private method FAILED
@Laurent: There were quite some changes to complex that you might want to look into since you recently worked on those :)
Cheers, Eloy _______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
Thanks Matt :) Indeed, in order to specify the API changes between 1.8 and 1.9 you should use version guards: ruby_version_is "" ... "1.9" do it "works as such on all versions prior to 1.9" do end end ruby_version_is "1.9" do it "works as such on 1.9" do end end To guard against compile errors you should use the language_version guard. See the rubyspec wiki for more info. The 1.9.x specs should target HEAD. There's no specific 1.9 target yet set for either RubySpec or MacRuby. HTH, Eloy On 2 aug 2009, at 19:49, Matt Aimonetti wrote:
Hi Eloy,
Welcome back. Unfortunatelly, due to API changes, the specs can't all pass on 1.8 and 1.9 unless we use a version check mechanism.
My understanding was that we should focus on 1.9.2 preview 1.
What do you want me to do?
- Matt
Sent from my iPhone
On Aug 2, 2009, at 6:42, Eloy Duran <eloy.de.enige@gmail.com> wrote:
Hi,
I'm un-jet lagging a bit, so I thought I'd update the ruby specs again. We are now passing: 18160 examples.
@Matt: Great work on the StringScanner! Could you please make sure the specs run on 1.8 as well? Currently 4 fail:
$ mspec -B ruby.1.8.mspec library/stringscanner
StringScanner#getch is multi-byte character sensitive FAILED StringScanner#getch should keep the encoding ERROR StringScanner#initialize_copy is a private method FAILED StringScanner#initialize is a private method FAILED
@Laurent: There were quite some changes to complex that you might want to look into since you recently worked on those :)
Cheers, Eloy _______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
Thanks for the tip, I'll go back and fix strscan and will make the modifications before pushing stringio. - Matt On Sun, Aug 2, 2009 at 11:22 AM, Eloy Duran <eloy.de.enige@gmail.com> wrote:
Thanks Matt :)
Indeed, in order to specify the API changes between 1.8 and 1.9 you should use version guards:
ruby_version_is "" ... "1.9" do it "works as such on all versions prior to 1.9" do end end
ruby_version_is "1.9" do it "works as such on 1.9" do end end
To guard against compile errors you should use the language_version guard. See the rubyspec wiki for more info.
The 1.9.x specs should target HEAD. There's no specific 1.9 target yet set for either RubySpec or MacRuby.
HTH, Eloy
On 2 aug 2009, at 19:49, Matt Aimonetti wrote:
Hi Eloy,
Welcome back. Unfortunatelly, due to API changes, the specs can't all pass on 1.8 and 1.9 unless we use a version check mechanism.
My understanding was that we should focus on 1.9.2 preview 1.
What do you want me to do?
- Matt
Sent from my iPhone
On Aug 2, 2009, at 6:42, Eloy Duran <eloy.de.enige@gmail.com> wrote:
Hi,
I'm un-jet lagging a bit, so I thought I'd update the ruby specs again. We are now passing: 18160 examples.
@Matt: Great work on the StringScanner! Could you please make sure the specs run on 1.8 as well? Currently 4 fail:
$ mspec -B ruby.1.8.mspec library/stringscanner
StringScanner#getch is multi-byte character sensitive FAILED StringScanner#getch should keep the encoding ERROR StringScanner#initialize_copy is a private method FAILED StringScanner#initialize is a private method FAILED
@Laurent: There were quite some changes to complex that you might want to look into since you recently worked on those :)
Cheers, Eloy _______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
_______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
_______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
Done, would you mind checking that I did it according to the rubyspec standards? Thanks, - Matt On Sun, Aug 2, 2009 at 11:30 AM, Matt Aimonetti <mattaimonetti@gmail.com>wrote:
Thanks for the tip, I'll go back and fix strscan and will make the modifications before pushing stringio.
- Matt
On Sun, Aug 2, 2009 at 11:22 AM, Eloy Duran <eloy.de.enige@gmail.com>wrote:
Thanks Matt :)
Indeed, in order to specify the API changes between 1.8 and 1.9 you should use version guards:
ruby_version_is "" ... "1.9" do it "works as such on all versions prior to 1.9" do end end
ruby_version_is "1.9" do it "works as such on 1.9" do end end
To guard against compile errors you should use the language_version guard. See the rubyspec wiki for more info.
The 1.9.x specs should target HEAD. There's no specific 1.9 target yet set for either RubySpec or MacRuby.
HTH, Eloy
On 2 aug 2009, at 19:49, Matt Aimonetti wrote:
Hi Eloy,
Welcome back. Unfortunatelly, due to API changes, the specs can't all pass on 1.8 and 1.9 unless we use a version check mechanism.
My understanding was that we should focus on 1.9.2 preview 1.
What do you want me to do?
- Matt
Sent from my iPhone
On Aug 2, 2009, at 6:42, Eloy Duran <eloy.de.enige@gmail.com> wrote:
Hi,
I'm un-jet lagging a bit, so I thought I'd update the ruby specs again. We are now passing: 18160 examples.
@Matt: Great work on the StringScanner! Could you please make sure the specs run on 1.8 as well? Currently 4 fail:
$ mspec -B ruby.1.8.mspec library/stringscanner
StringScanner#getch is multi-byte character sensitive FAILED StringScanner#getch should keep the encoding ERROR StringScanner#initialize_copy is a private method FAILED StringScanner#initialize is a private method FAILED
@Laurent: There were quite some changes to complex that you might want to look into since you recently worked on those :)
Cheers, Eloy _______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
_______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
_______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
Looks great, only a few notes: * Ruby version guards inlince in the example are not allowed. You should always use the version guard and in its block define the example outlining the specific behaviour on that version. This means some examples will have to broken up into smaller ones. * To check for a method, use the have_method matchers. Unfortunately, there's no have_private_method matcher yet, so one should be added to MSpec, which is very straightforward. You can do so in our frozen copy, which I will then merge upstream later on. Or you can do it directly against MSpec, which might be easier as you can safely run the specs of MSpec without worrying about MacRuby hacks. Cheers, Eloy On Aug 2, 2009, at 9:17 PM, Matt Aimonetti wrote:
Done, would you mind checking that I did it according to the rubyspec standards?
Thanks,
- Matt
On Sun, Aug 2, 2009 at 11:30 AM, Matt Aimonetti <mattaimonetti@gmail.com
wrote: Thanks for the tip, I'll go back and fix strscan and will make the modifications before pushing stringio.
- Matt
On Sun, Aug 2, 2009 at 11:22 AM, Eloy Duran <eloy.de.enige@gmail.com> wrote: Thanks Matt :)
Indeed, in order to specify the API changes between 1.8 and 1.9 you should use version guards:
ruby_version_is "" ... "1.9" do it "works as such on all versions prior to 1.9" do end end
ruby_version_is "1.9" do it "works as such on 1.9" do end end
To guard against compile errors you should use the language_version guard. See the rubyspec wiki for more info.
The 1.9.x specs should target HEAD. There's no specific 1.9 target yet set for either RubySpec or MacRuby.
HTH, Eloy
On 2 aug 2009, at 19:49, Matt Aimonetti wrote:
Hi Eloy,
Welcome back. Unfortunatelly, due to API changes, the specs can't all pass on 1.8 and 1.9 unless we use a version check mechanism.
My understanding was that we should focus on 1.9.2 preview 1.
What do you want me to do?
- Matt
Sent from my iPhone
On Aug 2, 2009, at 6:42, Eloy Duran <eloy.de.enige@gmail.com> wrote:
Hi,
I'm un-jet lagging a bit, so I thought I'd update the ruby specs again. We are now passing: 18160 examples.
@Matt: Great work on the StringScanner! Could you please make sure the specs run on 1.8 as well? Currently 4 fail:
$ mspec -B ruby.1.8.mspec library/stringscanner
StringScanner#getch is multi-byte character sensitive FAILED StringScanner#getch should keep the encoding ERROR StringScanner#initialize_copy is a private method FAILED StringScanner#initialize is a private method FAILED
@Laurent: There were quite some changes to complex that you might want to look into since you recently worked on those :)
Cheers, Eloy _______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel _______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
_______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
_______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
Welcome back \o/ $ sw_vers ProductName: Mac OS X ProductVersion: 10.6 BuildVersion: 10A421a $ rake spec:ci (in /Users/lrz/src/macruby-experimental) ./mspec/bin/mspec ci -I./lib -B ./spec/macruby.mspec :full MacRuby version 0.5 (ruby 1.9.0) [universal-darwin10.0, x86_64] ........................................................................ ........................................................................ ........................................................................ ........................................................................ ........................................................................ ........................................................................ ........................................................................ ........................................................................ ............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................... Finished in 94.124748 seconds 1519 files, 6142 examples, 18161 expectations, 0 failures, 0 errors Laurent On Aug 2, 2009, at 6:42 AM, Eloy Duran wrote:
Hi,
I'm un-jet lagging a bit, so I thought I'd update the ruby specs again. We are now passing: 18160 examples.
@Matt: Great work on the StringScanner! Could you please make sure the specs run on 1.8 as well? Currently 4 fail:
$ mspec -B ruby.1.8.mspec library/stringscanner
StringScanner#getch is multi-byte character sensitive FAILED StringScanner#getch should keep the encoding ERROR StringScanner#initialize_copy is a private method FAILED StringScanner#initialize is a private method FAILED
@Laurent: There were quite some changes to complex that you might want to look into since you recently worked on those :)
Cheers, Eloy _______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
Hi, I'm getting the following after pulling the latest sources: BEGIN Transcript: darnoc-laptop:macruby-experimental conradwt$ sw_vers ProductName: Mac OS X ProductVersion: 10.6 BuildVersion: 10A421a darnoc-laptop:macruby-experimental conradwt$ rake spec:ci (in /Users/conradwt/macruby.dir/projects/macruby-experimental) ./mspec/bin/mspec ci -I./lib -B ./spec/macruby.mspec :full MacRuby version 0.5 (ruby 1.9.0) [universal-darwin10.0, x86_64] .[!] Compiling fixture `/Users/conradwt/macruby.dir/projects/macruby-experimental/spec/macruby/fixtures/method.m' .[!] Compiling fixture `/Users/conradwt/macruby.dir/projects/macruby-experimental/spec/macruby/fixtures/constant.m' .[!] Compiling fixture `/Users/conradwt/macruby.dir/projects/macruby-experimental/spec/macruby/fixtures/exception.m' ......[!] Compiling fixture `/Users/conradwt/macruby.dir/projects/macruby-experimental/spec/macruby/fixtures/object.m' .................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................unknown: [BUG] Segmentation fault MacRuby version 0.5 (ruby 1.9.0) [universal-darwin10.0, x86_64] rake aborted! Command failed with status (): [./mspec/bin/mspec ci -I./lib -B ./spec/mac...] END Transcript: On Sun, Aug 2, 2009 at 12:26 PM, Laurent Sansonetti <lsansonetti@apple.com>wrote:
Welcome back \o/
$ sw_vers ProductName: Mac OS X ProductVersion: 10.6 BuildVersion: 10A421a
$ rake spec:ci (in /Users/lrz/src/macruby-experimental) ./mspec/bin/mspec ci -I./lib -B ./spec/macruby.mspec :full MacRuby version 0.5 (ruby 1.9.0) [universal-darwin10.0, x86_64]
...............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
Finished in 94.124748 seconds
1519 files, 6142 examples, 18161 expectations, 0 failures, 0 errors
Laurent
On Aug 2, 2009, at 6:42 AM, Eloy Duran wrote:
Hi,
I'm un-jet lagging a bit, so I thought I'd update the ruby specs again. We are now passing: 18160 examples.
@Matt: Great work on the StringScanner! Could you please make sure the specs run on 1.8 as well? Currently 4 fail:
$ mspec -B ruby.1.8.mspec library/stringscanner
StringScanner#getch is multi-byte character sensitive FAILED StringScanner#getch should keep the encoding ERROR StringScanner#initialize_copy is a private method FAILED StringScanner#initialize is a private method FAILED
@Laurent: There were quite some changes to complex that you might want to look into since you recently worked on those :)
Cheers, Eloy _______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
_______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
That's weird, did you do rake and rake install before starting the specs? I think it must be done otherwise the C extension bundles won't be properly loaded. (We should pass the appropriate flags to mspec so that it loads C extension bundles from the local build directory.) If it's still crashing, could you do the following inside the macruby directory: $ DYLD_LIBRARY_PATH=. gdb --args ./macruby -I./lib mspec/bin/mspec-ci - B ./spec/macruby.mspec :full Inside gdb, do "r", and once it crashes, do "thread apply all bt" and copy/paste the output. Laurent On Aug 2, 2009, at 12:54 PM, Conrad Taylor wrote:
Hi, I'm getting the following after pulling the latest sources:
BEGIN Transcript:
darnoc-laptop:macruby-experimental conradwt$ sw_vers ProductName: Mac OS X ProductVersion: 10.6 BuildVersion: 10A421a darnoc-laptop:macruby-experimental conradwt$ rake spec:ci (in /Users/conradwt/macruby.dir/projects/macruby-experimental) ./mspec/bin/mspec ci -I./lib -B ./spec/macruby.mspec :full MacRuby version 0.5 (ruby 1.9.0) [universal-darwin10.0, x86_64] .[!] Compiling fixture `/Users/conradwt/macruby.dir/projects/macruby- experimental/spec/macruby/fixtures/method.m' .[!] Compiling fixture `/Users/conradwt/macruby.dir/projects/macruby- experimental/spec/macruby/fixtures/constant.m' .[!] Compiling fixture `/Users/conradwt/macruby.dir/projects/macruby- experimental/spec/macruby/fixtures/exception.m' ......[!] Compiling fixture `/Users/conradwt/macruby.dir/projects/ macruby-experimental/spec/macruby/fixtures/object.m' ...................................................................... ...................................................................... ...................................................................... ...................................................................... ...................................................................... ...................................................................... ...................................................................... .......................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................unknown : [BUG] Segmentation fault MacRuby version 0.5 (ruby 1.9.0) [universal-darwin10.0, x86_64]
rake aborted! Command failed with status (): [./mspec/bin/mspec ci -I./lib -B ./ spec/mac...]
END Transcript:
On Sun, Aug 2, 2009 at 12:26 PM, Laurent Sansonetti <lsansonetti@apple.com
wrote: Welcome back \o/
$ sw_vers ProductName: Mac OS X ProductVersion: 10.6 BuildVersion: 10A421a
$ rake spec:ci (in /Users/lrz/src/macruby-experimental) ./mspec/bin/mspec ci -I./lib -B ./spec/macruby.mspec :full MacRuby version 0.5 (ruby 1.9.0) [universal-darwin10.0, x86_64] ...................................................................... ...................................................................... ...................................................................... ...................................................................... ...................................................................... ...................................................................... ...................................................................... ...................................................................... ...............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
Finished in 94.124748 seconds
1519 files, 6142 examples, 18161 expectations, 0 failures, 0 errors
Laurent
On Aug 2, 2009, at 6:42 AM, Eloy Duran wrote:
Hi,
I'm un-jet lagging a bit, so I thought I'd update the ruby specs again. We are now passing: 18160 examples.
@Matt: Great work on the StringScanner! Could you please make sure the specs run on 1.8 as well? Currently 4 fail:
$ mspec -B ruby.1.8.mspec library/stringscanner
StringScanner#getch is multi-byte character sensitive FAILED StringScanner#getch should keep the encoding ERROR StringScanner#initialize_copy is a private method FAILED StringScanner#initialize is a private method FAILED
@Laurent: There were quite some changes to complex that you might want to look into since you recently worked on those :)
Cheers, Eloy _______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
_______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
_______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
The other day I also had the specs crashing. To fix it I had to remove the installed MacRuby (/Library/Frameworks/MacRuby.framework/Versions/ 0.5), followed by a rake clean/rake/rake install.
That's weird, did you do rake and rake install before starting the specs? I think it must be done otherwise the C extension bundles won't be properly loaded. (We should pass the appropriate flags to mspec so that it loads C extension bundles from the local build directory.)
If it's still crashing, could you do the following inside the macruby directory:
$ DYLD_LIBRARY_PATH=. gdb --args ./macruby -I./lib mspec/bin/mspec- ci -B ./spec/macruby.mspec :full
Inside gdb, do "r", and once it crashes, do "thread apply all bt" and copy/paste the output.
Laurent
On Aug 2, 2009, at 12:54 PM, Conrad Taylor wrote:
Hi, I'm getting the following after pulling the latest sources:
BEGIN Transcript:
darnoc-laptop:macruby-experimental conradwt$ sw_vers ProductName: Mac OS X ProductVersion: 10.6 BuildVersion: 10A421a darnoc-laptop:macruby-experimental conradwt$ rake spec:ci (in /Users/conradwt/macruby.dir/projects/macruby-experimental) ./mspec/bin/mspec ci -I./lib -B ./spec/macruby.mspec :full MacRuby version 0.5 (ruby 1.9.0) [universal-darwin10.0, x86_64] .[!] Compiling fixture `/Users/conradwt/macruby.dir/projects/ macruby-experimental/spec/macruby/fixtures/method.m' .[!] Compiling fixture `/Users/conradwt/macruby.dir/projects/ macruby-experimental/spec/macruby/fixtures/constant.m' .[!] Compiling fixture `/Users/conradwt/macruby.dir/projects/ macruby-experimental/spec/macruby/fixtures/exception.m' ......[!] Compiling fixture `/Users/conradwt/macruby.dir/projects/ macruby-experimental/spec/macruby/fixtures/object.m' ..................................................................... ..................................................................... ..................................................................... ..................................................................... ..................................................................... ..................................................................... ..................................................................... ..............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................unknown : [BUG] Segmentation fault MacRuby version 0.5 (ruby 1.9.0) [universal-darwin10.0, x86_64]
rake aborted! Command failed with status (): [./mspec/bin/mspec ci -I./lib -B ./ spec/mac...]
END Transcript:
On Sun, Aug 2, 2009 at 12:26 PM, Laurent Sansonetti <lsansonetti@apple.com
wrote: Welcome back \o/
$ sw_vers ProductName: Mac OS X ProductVersion: 10.6 BuildVersion: 10A421a
$ rake spec:ci (in /Users/lrz/src/macruby-experimental) ./mspec/bin/mspec ci -I./lib -B ./spec/macruby.mspec :full MacRuby version 0.5 (ruby 1.9.0) [universal-darwin10.0, x86_64] ..................................................................... ..................................................................... ..................................................................... ..................................................................... ..................................................................... ..................................................................... ..................................................................... ..................................................................... .......................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
Finished in 94.124748 seconds
1519 files, 6142 examples, 18161 expectations, 0 failures, 0 errors
Laurent
On Aug 2, 2009, at 6:42 AM, Eloy Duran wrote:
Hi,
I'm un-jet lagging a bit, so I thought I'd update the ruby specs again. We are now passing: 18160 examples.
@Matt: Great work on the StringScanner! Could you please make sure the specs run on 1.8 as well? Currently 4 fail:
$ mspec -B ruby.1.8.mspec library/stringscanner
StringScanner#getch is multi-byte character sensitive FAILED StringScanner#getch should keep the encoding ERROR StringScanner#initialize_copy is a private method FAILED StringScanner#initialize is a private method FAILED
@Laurent: There were quite some changes to complex that you might want to look into since you recently worked on those :)
Cheers, Eloy _______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
_______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
_______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
_______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
On Sun, Aug 2, 2009 at 2:13 PM, Laurent Sansonetti <lsansonetti@apple.com>wrote:
That's weird, did you do rake and rake install before starting the specs? I think it must be done otherwise the C extension bundles won't be properly loaded. (We should pass the appropriate flags to mspec so that it loads C extension bundles from the local build directory.)
Laurent, I invoked the following commands at the command line in the order given earlier: svn update rake sudo rake install Now, after doing the following commands at the command line in the order given: svn update --> At revision 2153. rake clean rake sudo rake install I'm getting the following result: Finished in 104.085941 seconds 1519 files, 6142 examples, 18162 expectations, 0 failures, 0 errors -Conrad
If it's still crashing, could you do the following inside the macruby directory:
$ DYLD_LIBRARY_PATH=. gdb --args ./macruby -I./lib mspec/bin/mspec-ci -B ./spec/macruby.mspec :full
Inside gdb, do "r", and once it crashes, do "thread apply all bt" and copy/paste the output.
Laurent
On Aug 2, 2009, at 12:54 PM, Conrad Taylor wrote:
Hi, I'm getting the following after pulling the latest sources:
BEGIN Transcript:
darnoc-laptop:macruby-experimental conradwt$ sw_vers ProductName: Mac OS X ProductVersion: 10.6 BuildVersion: 10A421a darnoc-laptop:macruby-experimental conradwt$ rake spec:ci (in /Users/conradwt/macruby.dir/projects/macruby-experimental) ./mspec/bin/mspec ci -I./lib -B ./spec/macruby.mspec :full MacRuby version 0.5 (ruby 1.9.0) [universal-darwin10.0, x86_64] .[!] Compiling fixture `/Users/conradwt/macruby.dir/projects/macruby-experimental/spec/macruby/fixtures/method.m' .[!] Compiling fixture `/Users/conradwt/macruby.dir/projects/macruby-experimental/spec/macruby/fixtures/constant.m' .[!] Compiling fixture `/Users/conradwt/macruby.dir/projects/macruby-experimental/spec/macruby/fixtures/exception.m' ......[!] Compiling fixture `/Users/conradwt/macruby.dir/projects/macruby-experimental/spec/macruby/fixtures/object.m' .................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................unknown: [BUG] Segmentation fault MacRuby version 0.5 (ruby 1.9.0) [universal-darwin10.0, x86_64]
rake aborted! Command failed with status (): [./mspec/bin/mspec ci -I./lib -B ./spec/mac...]
END Transcript:
On Sun, Aug 2, 2009 at 12:26 PM, Laurent Sansonetti < lsansonetti@apple.com> wrote: Welcome back \o/
$ sw_vers ProductName: Mac OS X ProductVersion: 10.6 BuildVersion: 10A421a
$ rake spec:ci (in /Users/lrz/src/macruby-experimental) ./mspec/bin/mspec ci -I./lib -B ./spec/macruby.mspec :full MacRuby version 0.5 (ruby 1.9.0) [universal-darwin10.0, x86_64]
...............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
Finished in 94.124748 seconds
1519 files, 6142 examples, 18161 expectations, 0 failures, 0 errors
Laurent
On Aug 2, 2009, at 6:42 AM, Eloy Duran wrote:
Hi,
I'm un-jet lagging a bit, so I thought I'd update the ruby specs again. We are now passing: 18160 examples.
@Matt: Great work on the StringScanner! Could you please make sure the specs run on 1.8 as well? Currently 4 fail:
$ mspec -B ruby.1.8.mspec library/stringscanner
StringScanner#getch is multi-byte character sensitive FAILED StringScanner#getch should keep the encoding ERROR StringScanner#initialize_copy is a private method FAILED StringScanner#initialize is a private method FAILED
@Laurent: There were quite some changes to complex that you might want to look into since you recently worked on those :)
Cheers, Eloy _______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
_______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
_______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
_______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
participants (5)
-
Conrad Taylor
-
Eloy Duran
-
Laurent Sansonetti
-
Matt Aimonetti
-
Vincent Isambart