[MacRuby-devel] NameError: uninitialized constant NSObject::AF_INET

Laurent Sansonetti lsansonetti at apple.com
Thu Sep 10 19:25:47 PDT 2009


I noticed these too here. I fixed the 4th one in r2545. We will  
investigate the others.

Laurent

On Sep 10, 2009, at 7:14 PM, Conrad Taylor wrote:

> Hi ALL, I was wondering, is the following the correct state of the  
> specifications:
>
> begin transcript:
>
> $ rake spec:ci
> (in /Users/conradwt/macruby.dir/projects/macruby-trunk)
> ./mspec/bin/mspec ci -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- 
> trunk/spec/macruby/fixtures/method.m'
> .[!] Compiling fixture `/Users/conradwt/macruby.dir/projects/macruby- 
> trunk/spec/macruby/fixtures/constant.m'
> .[!] Compiling fixture `/Users/conradwt/macruby.dir/projects/macruby- 
> trunk/spec/macruby/fixtures/exception.m'
> ........[!] Compiling fixture `/Users/conradwt/macruby.dir/projects/ 
> macruby-trunk/spec/macruby/fixtures/object.m'
> ...................................................................... 
> ...................................................................... 
> ...................................................................... 
> ...................................................................... 
> ...................................................................... 
> ...................................................................... 
> ...................................................................... 
> ...................................................................... 
> ...................................................................... 
> ...................................................................... 
> .............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................E 
> .........E 
> ...................................................................................................................................................F 
> .
>
> 1)
> An exception occurred during: before :each
> Socket#bind binds to a port ERROR
> NameError: uninitialized constant NSObject::AF_INET
> 0:in `const_missing:'
> 0:in `protect:'
> 0:in `each'
> 0:in `all?'
> 0:in `protect:'
> 0:in `each'
> 0:in `process'
> 0:in `describe:'
>
> 2)
> An exception occurred during: before :each
> Socket#bind raises an error if we try to bind to an already bound  
> port ERROR
> NameError: uninitialized constant NSObject::AF_INET
> 0:in `const_missing:'
> 0:in `protect:'
> 0:in `each'
> 0:in `all?'
> 0:in `protect:'
> 0:in `each'
> 0:in `process'
> 0:in `describe:'
>
> 3)
> An exception occurred during: before :each
> Socket#listen verifies we can listen for incoming connections ERROR
> NameError: uninitialized constant NSObject::AF_INET
> 0:in `const_missing:'
> 0:in `protect:'
> 0:in `each'
> 0:in `all?'
> 0:in `protect:'
> 0:in `each'
> 0:in `process'
> 0:in `describe:'
>
> 4)
> YAML.load accepts numbers FAILED
> Expected "-1" to equal -1
> 0:in `fail:'
> 0:in `fail_with:'
> 0:in `==:'
> 0:in `protect:'
> 0:in `each'
> 0:in `all?'
> 0:in `protect:'
> 0:in `each'
> 0:in `process'
> 0:in `describe:'
>
> Finished in 178.585049 seconds
>
> 1812 files, 7501 examples, 20619 expectations, 1 failure, 3 errors
> rake aborted!
> Command failed with status (1): [./mspec/bin/mspec ci -B ./spec/ 
> macruby.msp...]
>
> end regression:
>
> Lastly, what's the total number of expectations?
>
> Thanks,
>
> -Conrad
>
>
> _______________________________________________
> MacRuby-devel mailing list
> MacRuby-devel at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel



More information about the MacRuby-devel mailing list