Skip to content

Instantly share code, notes, and snippets.

@agrimm
Created December 12, 2009 11:23
Show Gist options
  • Save agrimm/254850 to your computer and use it in GitHub Desktop.
Save agrimm/254850 to your computer and use it in GitHub Desktop.
C:\Documents and Settings\Andrew>heckle
c:/ruby/lib/ruby/gems/1.8/gems/RubyInline-3.8.4/lib/inline.rb:584:in ``': No such file or directory - cl -nologo -LD -MD -Zi -O2b2xg- -G6 -I c:/ruby/lib/ruby/1.8/i386-mswin32 -I c:/ruby/include -Lc:/ruby/lib -o "C:\\Documents and Settings\\Andrew/.ruby_inline/Inline_RawParseTree_ab80.so" "C:/Documents and Settings/Andrew/.ruby_inline/Inline_RawParseTree_ab80.c" -link /LIBPATH:"c:/ruby/lib" /DEFAULTLIB:"msvcrt-ruby18.lib" /INCREMENTAL:no /EXPORT:Init_Inline_RawParseTree_ab80 (Errno::ENOENT)
from c:/ruby/lib/ruby/gems/1.8/gems/RubyInline-3.8.4/lib/inline.rb:584:in `build'
from c:/ruby/lib/ruby/gems/1.8/gems/RubyInline-3.8.4/lib/inline.rb:827:in `inline'
from c:/ruby/lib/ruby/gems/1.8/gems/ParseTree-3.0.4/lib/parse_tree.rb:250
from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
from c:/ruby/lib/ruby/gems/1.8/gems/heckle-1.4.3/bin/../lib/heckle.rb:2
from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
from c:/ruby/lib/ruby/gems/1.8/gems/heckle-1.4.3/bin/../lib/test_unit_heckler.rb:5
from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
from c:/ruby/lib/ruby/gems/1.8/gems/heckle-1.4.3/bin/heckle:4
from c:/ruby/bin/heckle:19:in `load'
from c:/ruby/bin/heckle:19
=====================
The installation beforehand:
C:\Documents and Settings\Andrew>gem uninstall heckle ruby2ruby ruby_parser ParseTree sexp_processor RubyInline ZenTest --executables
Removing heckle
Successfully uninstalled heckle-1.4.3
Removing r2r_show
Successfully uninstalled ruby2ruby-1.2.4
Removing ruby_parse
Successfully uninstalled ruby_parser-2.0.4
Removing parse_tree_abc
Removing parse_tree_audit
Removing parse_tree_deps
Removing parse_tree_show
Successfully uninstalled ParseTree-3.0.4
Successfully uninstalled sexp_processor-3.0.3
Successfully uninstalled RubyInline-3.8.4
Removing autotest
Removing multigem
Removing multiruby
Removing multiruby_setup
Removing unit_diff
Removing zentest
Successfully uninstalled ZenTest-4.2.1
C:\Documents and Settings\Andrew>gem install ZenTest --test
Successfully installed ZenTest-4.2.1
1 gem installed
Installing ri documentation for ZenTest-4.2.1...
Installing RDoc documentation for ZenTest-4.2.1...
ERROR: While executing gem ... (NameError)
uninitialized constant Gem::Validator::Test
C:\Documents and Settings\Andrew>gem install RubyInline --test
Successfully installed RubyInline-3.8.4
1 gem installed
Installing ri documentation for RubyInline-3.8.4...
Installing RDoc documentation for RubyInline-3.8.4...
Error:
test_argument_check_fewer(TestModule):
CompilationError: error executing "cl -nologo -LD -MD -Zi -O2b2xg- -G6 -I c:/ruby/lib/ruby/1.8/i386-mswin32 -I c:/ruby/include -Lc:/ruby/lib -o \"C:/DOCUME~1/Andrew/LOCALS~1/Temp/test_inline.3776/.
ruby_inline/Inline_Foo__Bar_5527.so\" \"C:/DOCUME~1/Andrew/LOCALS~1/Temp/test_inline.3776/.ruby_inline/Inline_Foo__Bar_5527.c\" -link /LIBPATH:\"c:/ruby/lib\" /DEFAULTLIB:\"msvcrt-ruby18.lib\" /INCR
EMENTAL:no /EXPORT:Init_Inline_Foo__Bar_5527 2> nul": 256
Renamed C:/DOCUME~1/Andrew/LOCALS~1/Temp/test_inline.3776/.ruby_inline/Inline_Foo__Bar_5527.c to C:/DOCUME~1/Andrew/LOCALS~1/Temp/test_inline.3776/.ruby_inline/Inline_Foo__Bar_5527.c.bad
c:/ruby/lib/ruby/gems/1.8/gems/RubyInline-3.8.4/lib/inline.rb:589:in `build'
c:/ruby/lib/ruby/gems/1.8/gems/RubyInline-3.8.4/lib/inline.rb:827:in `inline'
./test/test_inline.rb:1044:in `util_arity_check'
./test/test_inline.rb:1011:in `test_argument_check_fewer'
Error:
test_argument_check_good(TestModule):
CompilationError: error executing "cl -nologo -LD -MD -Zi -O2b2xg- -G6 -I c:/ruby/lib/ruby/1.8/i386-mswin32 -I c:/ruby/include -Lc:/ruby/lib -o \"C:/DOCUME~1/Andrew/LOCALS~1/Temp/test_inline.3776/.
ruby_inline/Inline_Foo__Bar_5527.so\" \"C:/DOCUME~1/Andrew/LOCALS~1/Temp/test_inline.3776/.ruby_inline/Inline_Foo__Bar_5527.c\" -link /LIBPATH:\"c:/ruby/lib\" /DEFAULTLIB:\"msvcrt-ruby18.lib\" /INCR
EMENTAL:no /EXPORT:Init_Inline_Foo__Bar_5527 2> nul": 256
Renamed C:/DOCUME~1/Andrew/LOCALS~1/Temp/test_inline.3776/.ruby_inline/Inline_Foo__Bar_5527.c to C:/DOCUME~1/Andrew/LOCALS~1/Temp/test_inline.3776/.ruby_inline/Inline_Foo__Bar_5527.c.bad
c:/ruby/lib/ruby/gems/1.8/gems/RubyInline-3.8.4/lib/inline.rb:589:in `build'
c:/ruby/lib/ruby/gems/1.8/gems/RubyInline-3.8.4/lib/inline.rb:827:in `inline'
./test/test_inline.rb:1044:in `util_arity_check'
./test/test_inline.rb:1005:in `test_argument_check_good'
Error:
test_argument_check_more(TestModule):
CompilationError: error executing "cl -nologo -LD -MD -Zi -O2b2xg- -G6 -I c:/ruby/lib/ruby/1.8/i386-mswin32 -I c:/ruby/include -Lc:/ruby/lib -o \"C:/DOCUME~1/Andrew/LOCALS~1/Temp/test_inline.3776/.
ruby_inline/Inline_Foo__Bar_5527.so\" \"C:/DOCUME~1/Andrew/LOCALS~1/Temp/test_inline.3776/.ruby_inline/Inline_Foo__Bar_5527.c\" -link /LIBPATH:\"c:/ruby/lib\" /DEFAULTLIB:\"msvcrt-ruby18.lib\" /INCR
EMENTAL:no /EXPORT:Init_Inline_Foo__Bar_5527 2> nul": 256
Renamed C:/DOCUME~1/Andrew/LOCALS~1/Temp/test_inline.3776/.ruby_inline/Inline_Foo__Bar_5527.c to C:/DOCUME~1/Andrew/LOCALS~1/Temp/test_inline.3776/.ruby_inline/Inline_Foo__Bar_5527.c.bad
c:/ruby/lib/ruby/gems/1.8/gems/RubyInline-3.8.4/lib/inline.rb:589:in `build'
c:/ruby/lib/ruby/gems/1.8/gems/RubyInline-3.8.4/lib/inline.rb:827:in `inline'
./test/test_inline.rb:1044:in `util_arity_check'
./test/test_inline.rb:1020:in `test_argument_check_more'
Error:
test_inline(TestModule):
CompilationError: error executing "cl -nologo -LD -MD -Zi -O2b2xg- -G6 -I c:/ruby/lib/ruby/1.8/i386-mswin32 -I c:/ruby/include -Lc:/ruby/lib -o \"C:/DOCUME~1/Andrew/LOCALS~1/Temp/test_inline.3776/.
ruby_inline/Inline_TestModule_34ec.so\" \"C:/DOCUME~1/Andrew/LOCALS~1/Temp/test_inline.3776/.ruby_inline/Inline_TestModule_34ec.c\" -link /LIBPATH:\"c:/ruby/lib\" /DEFAULTLIB:\"msvcrt-ruby18.lib\" /
INCREMENTAL:no /EXPORT:Init_Inline_TestModule_34ec 2> nul": 256
Renamed C:/DOCUME~1/Andrew/LOCALS~1/Temp/test_inline.3776/.ruby_inline/Inline_TestModule_34ec.c to C:/DOCUME~1/Andrew/LOCALS~1/Temp/test_inline.3776/.ruby_inline/Inline_TestModule_34ec.c.bad
c:/ruby/lib/ruby/gems/1.8/gems/RubyInline-3.8.4/lib/inline.rb:589:in `build'
c:/ruby/lib/ruby/gems/1.8/gems/RubyInline-3.8.4/lib/inline.rb:827:in `inline'
./test/test_inline.rb:1028:in `test_inline'
Error:
test_nested(TestModule):
CompilationError: c:/ruby/lib/ruby/gems/1.8/gems/RubyInline-3.8.4/lib/inline.rb:589:in `build': error executing "cl -nologo -LD -MD -Zi -O2b2xg- -G6 -I c:/ruby/lib/ruby/1.8/i386-mswin32 -I c:/ruby/
include -Lc:/ruby/lib -o \"C:/DOCUME~1/Andrew/LOCALS~1/Temp/test_inline.3776/.ruby_inline/Inline_Foo__Bar_7514.so\" \"C:/DOCUME~1/Andrew/LOCALS~1/Temp/test_inline.3776/.ruby_inline/Inline_Foo__Bar_751
4.c\" -link /LIBPATH:\"c:/ruby/lib\" /DEFAULTLIB:\"msvcrt-ruby18.lib\" /INCREMENTAL:no /EXPORT:Init_Inline_Foo__Bar_7514 2> nul": 256
Renamed C:/DOCUME~1/Andrew/LOCALS~1/Temp/test_inline.3776/.ruby_inline/Inline_Foo__Bar_7514.c to C:/DOCUME~1/Andrew/LOCALS~1/Temp/test_inline.3776/.ruby_inline/Inline_Foo__Bar_7514.c.bad
./test/test_inline.rb:985:in `test_nested'
c:/ruby/lib/ruby/gems/1.8/gems/RubyInline-3.8.4/lib/inline.rb:827:in `inline'
(eval):3:in `test_nested'
Failure:
test_accessor(TestInline::TestC) [./test/test_inline.rb:150]:
<["# line N \"./lib/inline.rb\"\nstatic VALUE method_name(VALUE self) {\n\n MyStruct *pointer;\n\n Data_Get_Struct(self, MyStruct, pointer);\n\n return (INT2FIX(pointer->method_name));\n}\n",
"# line N \"./lib/inline.rb\"\nstatic VALUE method_name_equals(VALUE self, VALUE _value) {\n VALUE value = (_value);\n\n MyStruct *pointer;\n\n Data_Get_Struct(self, MyStruct, pointer);\n\n point
er->method_name = FIX2INT(value);\n\n return (value);\n}\n"]> expected but was
<["# line N \"c\"\nstatic VALUE method_name(VALUE self) {\n\n MyStruct *pointer;\n\n Data_Get_Struct(self, MyStruct, pointer);\n\n return (INT2FIX(pointer->method_name));\n}\n",
"# line N \"c\"\nstatic VALUE method_name_equals(VALUE self, VALUE _value) {\n VALUE value = (_value);\n\n MyStruct *pointer;\n\n Data_Get_Struct(self, MyStruct, pointer);\n\n pointer->method_nam
e = FIX2INT(value);\n\n return (value);\n}\n"]>.
Failure:
test_accessor_member_name(TestInline::TestC) [./test/test_inline.rb:189]:
<["# line N \"./lib/inline.rb\"\nstatic VALUE method_name(VALUE self) {\n\n MyStruct *pointer;\n\n Data_Get_Struct(self, MyStruct, pointer);\n\n return (INT2FIX(pointer->member_name));\n}\n",
"# line N \"./lib/inline.rb\"\nstatic VALUE method_name_equals(VALUE self, VALUE _value) {\n VALUE value = (_value);\n\n MyStruct *pointer;\n\n Data_Get_Struct(self, MyStruct, pointer);\n\n point
er->member_name = FIX2INT(value);\n\n return (value);\n}\n"]> expected but was
<["# line N \"c\"\nstatic VALUE method_name(VALUE self) {\n\n MyStruct *pointer;\n\n Data_Get_Struct(self, MyStruct, pointer);\n\n return (INT2FIX(pointer->member_name));\n}\n",
"# line N \"c\"\nstatic VALUE method_name_equals(VALUE self, VALUE _value) {\n VALUE value = (_value);\n\n MyStruct *pointer;\n\n Data_Get_Struct(self, MyStruct, pointer);\n\n pointer->member_nam
e = FIX2INT(value);\n\n return (value);\n}\n"]>.
Error:
test_build_good(TestInline::TestC):
CompilationError: error executing "cl -nologo -LD -MD -Zi -O2b2xg- -G6 -I c:/ruby/lib/ruby/1.8/i386-mswin32 -I c:/ruby/include -Lc:/ruby/lib -o \"C:/DOCUME~1/Andrew/LOCALS~1/Temp/test_inline.3776/.
ruby_inline/Inline_DumbTest1_9889.so\" \"C:/DOCUME~1/Andrew/LOCALS~1/Temp/test_inline.3776/.ruby_inline/Inline_DumbTest1_9889.c\" -link /LIBPATH:\"c:/ruby/lib\" /DEFAULTLIB:\"msvcrt-ruby18.lib\" /IN
CREMENTAL:no /EXPORT:Init_Inline_DumbTest1_9889 2> nul": 256
Renamed C:/DOCUME~1/Andrew/LOCALS~1/Temp/test_inline.3776/.ruby_inline/Inline_DumbTest1_9889.c to C:/DOCUME~1/Andrew/LOCALS~1/Temp/test_inline.3776/.ruby_inline/Inline_DumbTest1_9889.c.bad
c:/ruby/lib/ruby/gems/1.8/gems/RubyInline-3.8.4/lib/inline.rb:589:in `build'
c:/ruby/lib/ruby/gems/1.8/gems/RubyInline-3.8.4/lib/inline.rb:827:in `inline'
C:/DOCUME~1/Andrew/LOCALS~1/Temp/util_test_build.3776.1.rb:5
./test/test_inline.rb:868:in `require'
./test/test_inline.rb:868:in `util_test_build'
./test/test_inline.rb:868:in `module_eval'
./test/test_inline.rb:868:in `util_test_build'
./test/test_inline.rb:877:in `test_build_good'
Failure:
test_c(TestInline::TestC) [./test/test_inline.rb:811]:
<"# line N \"c:/ruby/bin/gem\"\nstatic VALUE add(VALUE self, VALUE _a, VALUE _b) {\n int a = FIX2INT(_a);\n int b = FIX2INT(_b);\n return INT2FIX(a + b); }"> expected but was
<"# line N \"./test/test_inline.rb\"\nstatic VALUE add(VALUE self, VALUE _a, VALUE _b) {\n int a = FIX2INT(_a);\n int b = FIX2INT(_b);\n return INT2FIX(a + b); }">.
Failure:
test_c_raw(TestInline::TestC) [./test/test_inline.rb:822]:
<"# line N \"c:/ruby/bin/gem\"\nstatic VALUE answer_raw(int argc, VALUE *argv, VALUE self) { return INT2NUM(42); }"> expected but was
<"# line N \"./test/test_inline.rb\"\nstatic VALUE answer_raw(int argc, VALUE *argv, VALUE self) { return INT2NUM(42); }">.
Failure:
test_generate_arity_0(TestInline::TestC)
[./test/test_inline.rb:525:in `util_generate'
./test/test_inline.rb:565:in `test_generate_arity_0']:
<"# line N \"c:/ruby/bin/gem\"\nstatic VALUE y(VALUE self) {\n do_something; return INT2FIX(42); }"> expected but was
<"# line N \"./test/test_inline.rb\"\nstatic VALUE y(VALUE self) {\n do_something; return INT2FIX(42); }">.
Failure:
test_generate_arity_0_int_return(TestInline::TestC)
[./test/test_inline.rb:525:in `util_generate'
./test/test_inline.rb:591:in `test_generate_arity_0_int_return']:
<"# line N \"c:/ruby/bin/gem\"\nstatic VALUE x(VALUE self) {\nreturn INT2FIX(42)}"> expected but was
<"# line N \"./test/test_inline.rb\"\nstatic VALUE x(VALUE self) {\nreturn INT2FIX(42)}">.
Failure:
test_generate_arity_0_no_return(TestInline::TestC)
[./test/test_inline.rb:525:in `util_generate'
./test/test_inline.rb:573:in `test_generate_arity_0_no_return']:
<"# line N \"c:/ruby/bin/gem\"\nstatic VALUE y(VALUE self) {\n do_something;\nreturn Qnil;\n}"> expected but was
<"# line N \"./test/test_inline.rb\"\nstatic VALUE y(VALUE self) {\n do_something;\nreturn Qnil;\n}">.
Failure:
test_generate_arity_0_void_return(TestInline::TestC)
[./test/test_inline.rb:525:in `util_generate'
./test/test_inline.rb:582:in `test_generate_arity_0_void_return']:
<"# line N \"c:/ruby/bin/gem\"\nstatic VALUE y(VALUE self) {\ngo_do_something_external;\nreturn Qnil;\n}"> expected but was
<"# line N \"./test/test_inline.rb\"\nstatic VALUE y(VALUE self) {\ngo_do_something_external;\nreturn Qnil;\n}">.
Failure:
test_generate_arity_1(TestInline::TestC)
[./test/test_inline.rb:525:in `util_generate'
./test/test_inline.rb:607:in `test_generate_arity_1']:
<"# line N \"c:/ruby/bin/gem\"\nstatic VALUE y(VALUE self, VALUE _x) {\n int x = FIX2INT(_x);\nblah; return INT2FIX(x+1);}"> expected but was
<"# line N \"./test/test_inline.rb\"\nstatic VALUE y(VALUE self, VALUE _x) {\n int x = FIX2INT(_x);\nblah; return INT2FIX(x+1);}">.
Failure:
test_generate_arity_1_no_return(TestInline::TestC)
[./test/test_inline.rb:525:in `util_generate'
./test/test_inline.rb:615:in `test_generate_arity_1_no_return']:
<"# line N \"c:/ruby/bin/gem\"\nstatic VALUE y(VALUE self, VALUE _x) {\n int x = FIX2INT(_x);\nblah;\nreturn Qnil;\n}"> expected but was
<"# line N \"./test/test_inline.rb\"\nstatic VALUE y(VALUE self, VALUE _x) {\n int x = FIX2INT(_x);\nblah;\nreturn Qnil;\n}">.
Failure:
test_generate_arity_2(TestInline::TestC)
[./test/test_inline.rb:525:in `util_generate'
./test/test_inline.rb:631:in `test_generate_arity_2']:
<"# line N \"c:/ruby/bin/gem\"\nstatic VALUE func(VALUE self, VALUE _x, VALUE _y) {\n int x = FIX2INT(_x);\n int y = FIX2INT(_y);\nblah; return INT2FIX(x+y);}"> expected but was
<"# line N \"./test/test_inline.rb\"\nstatic VALUE func(VALUE self, VALUE _x, VALUE _y) {\n int x = FIX2INT(_x);\n int y = FIX2INT(_y);\nblah; return INT2FIX(x+y);}">.
Failure:
test_generate_char_star_normalize(TestInline::TestC)
[./test/test_inline.rb:525:in `util_generate'
./test/test_inline.rb:751:in `test_generate_char_star_normalize']:
<"# line N \"c:/ruby/bin/gem\"\nstatic VALUE blah(VALUE self, VALUE _s) {\n char * s = StringValuePtr(_s);\nputs(s); return rb_str_new2(s)}"> expected but was
<"# line N \"./test/test_inline.rb\"\nstatic VALUE blah(VALUE self, VALUE _s) {\n char * s = StringValuePtr(_s);\nputs(s); return rb_str_new2(s)}">.
Failure:
test_generate_comments(TestInline::TestC)
[./test/test_inline.rb:525:in `util_generate'
./test/test_inline.rb:670:in `test_generate_comments']:
<"# line N \"c:/ruby/bin/gem\"\nstatic VALUE add(VALUE self, VALUE _x, VALUE _y) {\n int x = FIX2INT(_x);\n int y = FIX2INT(_y);\n\n return INT2FIX(x+y);\n }\n "> expected but was
<"# line N \"./test/test_inline.rb\"\nstatic VALUE add(VALUE self, VALUE _x, VALUE _y) {\n int x = FIX2INT(_x);\n int y = FIX2INT(_y);\n\n return INT2FIX(x+y);\n }\n ">.
Failure:
test_generate_compact(TestInline::TestC)
[./test/test_inline.rb:525:in `util_generate'
./test/test_inline.rb:741:in `test_generate_compact']:
<"# line N \"c:/ruby/bin/gem\"\nstatic VALUE add(VALUE self, VALUE _x, VALUE _y) {\n int x = FIX2INT(_x);\n int y = FIX2INT(_y);\nreturn INT2FIX(x+y)}"> expected but was
<"# line N \"./test/test_inline.rb\"\nstatic VALUE add(VALUE self, VALUE _x, VALUE _y) {\n int x = FIX2INT(_x);\n int y = FIX2INT(_y);\nreturn INT2FIX(x+y)}">.
Failure:
test_generate_local_header(TestInline::TestC)
[./test/test_inline.rb:525:in `util_generate'
./test/test_inline.rb:691:in `test_generate_local_header']:
<"# line N \"c:/ruby/bin/gem\"\n#include \"header\"\nstatic VALUE add(VALUE self, VALUE _x, VALUE _y) {\n int x = FIX2INT(_x);\n int y = FIX2INT(_y);\n\n return INT2FIX(x+y);\n}\n"> expected but wa
s
<"# line N \"./test/test_inline.rb\"\n#include \"header\"\nstatic VALUE add(VALUE self, VALUE _x, VALUE _y) {\n int x = FIX2INT(_x);\n int y = FIX2INT(_y);\n\n return INT2FIX(x+y);\n}\n">.
Failure:
test_generate_map_name(TestInline::TestC)
[./test/test_inline.rb:525:in `util_generate'
./test/test_inline.rb:529:in `util_generate_raw'
./test/test_inline.rb:699:in `test_generate_map_name']:
<"# line N \"c:/ruby/bin/gem\"\nstatic VALUE y_equals(VALUE self) {blah;}"> expected but was
<"# line N \"./test/test_inline.rb\"\nstatic VALUE y_equals(VALUE self) {blah;}">.
Failure:
test_generate_raw_arity_0(TestInline::TestC)
[./test/test_inline.rb:525:in `util_generate'
./test/test_inline.rb:529:in `util_generate_raw'
./test/test_inline.rb:557:in `test_generate_raw_arity_0']:
<"# line N \"c:/ruby/bin/gem\"\nstatic VALUE y(VALUE self) {blah;}"> expected but was
<"# line N \"./test/test_inline.rb\"\nstatic VALUE y(VALUE self) {blah;}">.
Failure:
test_generate_raw_arity_1(TestInline::TestC)
[./test/test_inline.rb:525:in `util_generate'
./test/test_inline.rb:529:in `util_generate_raw'
./test/test_inline.rb:599:in `test_generate_raw_arity_1']:
<"# line N \"c:/ruby/bin/gem\"\nstatic VALUE y(VALUE self, VALUE obj) {blah;}"> expected but was
<"# line N \"./test/test_inline.rb\"\nstatic VALUE y(VALUE self, VALUE obj) {blah;}">.
Failure:
test_generate_raw_arity_2(TestInline::TestC)
[./test/test_inline.rb:525:in `util_generate'
./test/test_inline.rb:529:in `util_generate_raw'
./test/test_inline.rb:623:in `test_generate_raw_arity_2']:
<"# line N \"c:/ruby/bin/gem\"\nstatic VALUE func(VALUE self, VALUE obj1, VALUE obj2) {blah;}"> expected but was
<"# line N \"./test/test_inline.rb\"\nstatic VALUE func(VALUE self, VALUE obj1, VALUE obj2) {blah;}">.
Failure:
test_generate_raw_arity_3(TestInline::TestC)
[./test/test_inline.rb:525:in `util_generate'
./test/test_inline.rb:529:in `util_generate_raw'
./test/test_inline.rb:639:in `test_generate_raw_arity_3']:
<"# line N \"c:/ruby/bin/gem\"\nstatic VALUE func(VALUE self, VALUE obj1, VALUE obj2, VALUE obj3) {blah;}"> expected but was
<"# line N \"./test/test_inline.rb\"\nstatic VALUE func(VALUE self, VALUE obj1, VALUE obj2, VALUE obj3) {blah;}">.
Failure:
test_generate_system_header(TestInline::TestC)
[./test/test_inline.rb:525:in `util_generate'
./test/test_inline.rb:721:in `test_generate_system_header']:
<"# line N \"c:/ruby/bin/gem\"\n#include <header>\nstatic VALUE add(VALUE self, VALUE _x, VALUE _y) {\n int x = FIX2INT(_x);\n int y = FIX2INT(_y);\n\n return INT2FIX(x+y);\n}\n"> expected but was
<"# line N \"./test/test_inline.rb\"\n#include <header>\nstatic VALUE add(VALUE self, VALUE _x, VALUE _y) {\n int x = FIX2INT(_x);\n int y = FIX2INT(_y);\n\n return INT2FIX(x+y);\n}\n">.
Failure:
test_generate_wonky_return(TestInline::TestC)
[./test/test_inline.rb:525:in `util_generate'
./test/test_inline.rb:730:in `test_generate_wonky_return']:
<"# line N \"c:/ruby/bin/gem\"\nstatic VALUE z(VALUE self) {\nreturn ULONG2NUM(42)}"> expected but was
<"# line N \"./test/test_inline.rb\"\nstatic VALUE z(VALUE self) {\nreturn ULONG2NUM(42)}">.
Failure:
test_reader(TestInline::TestC) [./test/test_inline.rb:242]:
<["# line N \"./lib/inline.rb\"\nstatic VALUE method_name(VALUE self) {\n\n MyStruct *pointer;\n\n Data_Get_Struct(self, MyStruct, pointer);\n\n return (INT2FIX(pointer->method_name));\n}\n"]> expe
cted but was
<["# line N \"c\"\nstatic VALUE method_name(VALUE self) {\n\n MyStruct *pointer;\n\n Data_Get_Struct(self, MyStruct, pointer);\n\n return (INT2FIX(pointer->method_name));\n}\n"]>.
Failure:
test_reader_member_name(TestInline::TestC) [./test/test_inline.rb:266]:
<["# line N \"./lib/inline.rb\"\nstatic VALUE method_name(VALUE self) {\n\n MyStruct *pointer;\n\n Data_Get_Struct(self, MyStruct, pointer);\n\n return (INT2FIX(pointer->member_name));\n}\n"]> expe
cted but was
<["# line N \"c\"\nstatic VALUE method_name(VALUE self) {\n\n MyStruct *pointer;\n\n Data_Get_Struct(self, MyStruct, pointer);\n\n return (INT2FIX(pointer->member_name));\n}\n"]>.
Failure:
test_writer(TestInline::TestC) [./test/test_inline.rb:313]:
<["# line N \"./lib/inline.rb\"\nstatic VALUE method_name_equals(VALUE self, VALUE _value) {\n VALUE value = (_value);\n\n MyStruct *pointer;\n\n Data_Get_Struct(self, MyStruct, pointer);\n\n poin
ter->method_name = FIX2INT(value);\n\n return (value);\n}\n"]> expected but was
<["# line N \"c\"\nstatic VALUE method_name_equals(VALUE self, VALUE _value) {\n VALUE value = (_value);\n\n MyStruct *pointer;\n\n Data_Get_Struct(self, MyStruct, pointer);\n\n pointer->method_na
me = FIX2INT(value);\n\n return (value);\n}\n"]>.
Failure:
test_writer_member_name(TestInline::TestC) [./test/test_inline.rb:340]:
<["# line N \"./lib/inline.rb\"\nstatic VALUE method_name_equals(VALUE self, VALUE _value) {\n VALUE value = (_value);\n\n MyStruct *pointer;\n\n Data_Get_Struct(self, MyStruct, pointer);\n\n poin
ter->member_name = FIX2INT(value);\n\n return (value);\n}\n"]> expected but was
<["# line N \"c\"\nstatic VALUE method_name_equals(VALUE self, VALUE _value) {\n VALUE value = (_value);\n\n MyStruct *pointer;\n\n Data_Get_Struct(self, MyStruct, pointer);\n\n pointer->member_na
me = FIX2INT(value);\n\n return (value);\n}\n"]>.
ERROR: 63 tests, 86 assertions, 26 failures, 6 errors
...keep Gem? [Yn] y
C:\Documents and Settings\Andrew>gem install sexp_processor --test
Successfully installed sexp_processor-3.0.3
1 gem installed
Installing ri documentation for sexp_processor-3.0.3...
Installing RDoc documentation for sexp_processor-3.0.3...
ERROR: While executing gem ... (NameError)
uninitialized constant Gem::Validator::Test
C:\Documents and Settings\Andrew>gem install ParseTree --test
Successfully installed ParseTree-3.0.4
1 gem installed
Installing ri documentation for ParseTree-3.0.4...
Installing RDoc documentation for ParseTree-3.0.4...
ERROR: While executing gem ... (ArgumentError)
couldn't find HOME environment -- expanding `~/.ruby_inline'
C:\Documents and Settings\Andrew>ruby --version
ruby 1.8.6 (2007-09-24 patchlevel 111) [i386-mswin32]
C:\Documents and Settings\Andrew>gem install ruby_parser --test
Successfully installed ruby_parser-2.0.4
1 gem installed
Installing ri documentation for ruby_parser-2.0.4...
Installing RDoc documentation for ruby_parser-2.0.4...
ERROR: While executing gem ... (ArgumentError)
couldn't find HOME environment -- expanding `~/Work/p4/zss/src/ParseTree/dev/test'
C:\Documents and Settings\Andrew>gem install ruby2ruby --test
Successfully installed ruby2ruby-1.2.4
1 gem installed
Installing ri documentation for ruby2ruby-1.2.4...
Installing RDoc documentation for ruby2ruby-1.2.4...
ERROR: While executing gem ... (NameError)
uninitialized constant Gem::Validator::Test
C:\Documents and Settings\Andrew>gem install heckle --test
Successfully installed heckle-1.4.3
1 gem installed
Installing ri documentation for heckle-1.4.3...
Installing RDoc documentation for heckle-1.4.3...
ERROR: While executing gem ... (Errno::ENOENT)
No such file or directory - cl -nologo -LD -MD -Zi -O2b2xg- -G6 -I c:/ruby/lib/ruby/1.8/i386-mswin32 -I c:/ruby/include -Lc:/ruby/lib -o "C:\\Documents and Settings\\Andrew/.ruby_inline/Inline_
RawParseTree_ab80.so" "C:/Documents and Settings/Andrew/.ruby_inline/Inline_RawParseTree_ab80.c" -link /LIBPATH:"c:/ruby/lib" /DEFAULTLIB:"msvcrt-ruby18.lib" /INCREMENTAL:no /EXPORT:Init_Inline_RawP
arseTree_ab80
C:\Documents and Settings\Andrew>heckle --version
c:/ruby/lib/ruby/gems/1.8/gems/RubyInline-3.8.4/lib/inline.rb:584:in ``': No such file or directory - cl -nologo -LD -MD -Zi -O2b2xg- -G6 -I c:/ruby/lib/ruby/1.8/i386-mswin32 -I c:/ruby/include -Lc
:/ruby/lib -o "C:\\Documents and Settings\\Andrew/.ruby_inline/Inline_RawParseTree_ab80.so" "C:/Documents and Settings/Andrew/.ruby_inline/Inline_RawParseTree_ab80.c" -link /LIBPATH:"c:/ruby/lib" /D
EFAULTLIB:"msvcrt-ruby18.lib" /INCREMENTAL:no /EXPORT:Init_Inline_RawParseTree_ab80 (Errno::ENOENT)
from c:/ruby/lib/ruby/gems/1.8/gems/RubyInline-3.8.4/lib/inline.rb:584:in `build'
from c:/ruby/lib/ruby/gems/1.8/gems/RubyInline-3.8.4/lib/inline.rb:827:in `inline'
from c:/ruby/lib/ruby/gems/1.8/gems/ParseTree-3.0.4/lib/parse_tree.rb:250
from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
from c:/ruby/lib/ruby/gems/1.8/gems/heckle-1.4.3/bin/../lib/heckle.rb:2
from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
from c:/ruby/lib/ruby/gems/1.8/gems/heckle-1.4.3/bin/../lib/test_unit_heckler.rb:5
from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
from c:/ruby/lib/ruby/gems/1.8/gems/heckle-1.4.3/bin/heckle:4
from c:/ruby/bin/heckle:19:in `load'
from c:/ruby/bin/heckle:19
C:\Documents and Settings\Andrew>heckle
c:/ruby/lib/ruby/gems/1.8/gems/RubyInline-3.8.4/lib/inline.rb:584:in ``': No such file or directory - cl -nologo -LD -MD -Zi -O2b2xg- -G6 -I c:/ruby/lib/ruby/1.8/i386-mswin32 -I c:/ruby/include -Lc
:/ruby/lib -o "C:\\Documents and Settings\\Andrew/.ruby_inline/Inline_RawParseTree_ab80.so" "C:/Documents and Settings/Andrew/.ruby_inline/Inline_RawParseTree_ab80.c" -link /LIBPATH:"c:/ruby/lib" /D
EFAULTLIB:"msvcrt-ruby18.lib" /INCREMENTAL:no /EXPORT:Init_Inline_RawParseTree_ab80 (Errno::ENOENT)
from c:/ruby/lib/ruby/gems/1.8/gems/RubyInline-3.8.4/lib/inline.rb:584:in `build'
from c:/ruby/lib/ruby/gems/1.8/gems/RubyInline-3.8.4/lib/inline.rb:827:in `inline'
from c:/ruby/lib/ruby/gems/1.8/gems/ParseTree-3.0.4/lib/parse_tree.rb:250
from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
from c:/ruby/lib/ruby/gems/1.8/gems/heckle-1.4.3/bin/../lib/heckle.rb:2
from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
from c:/ruby/lib/ruby/gems/1.8/gems/heckle-1.4.3/bin/../lib/test_unit_heckler.rb:5
from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
from c:/ruby/lib/ruby/gems/1.8/gems/heckle-1.4.3/bin/heckle:4
from c:/ruby/bin/heckle:19:in `load'
from c:/ruby/bin/heckle:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment