Author: jreidinger Date: Wed Feb 15 16:51:53 2012 New Revision: 67453 URL: http://svn.opensuse.org/viewcvs/yast?rev=67453&view=rev Log: make test really fail if it doesn't return what we want Modified: trunk/ruby-bindings/tests/ycp/ruby_from_ycp.ycp Modified: trunk/ruby-bindings/tests/ycp/ruby_from_ycp.ycp URL: http://svn.opensuse.org/viewcvs/yast/trunk/ruby-bindings/tests/ycp/ruby_from_ycp.ycp?rev=67453&r1=67452&r2=67453&view=diff ============================================================================== --- trunk/ruby-bindings/tests/ycp/ruby_from_ycp.ycp (original) +++ trunk/ruby-bindings/tests/ycp/ruby_from_ycp.ycp Wed Feb 15 16:51:53 2012 @@ -8,10 +8,13 @@ { result = tostring(InRuby::last_exception()); y2milestone("result: %1", result); + if(result != "Wow exception!") + return false; } else { y2error("exception completely ignored result: %1",result); + return false; } import "CamelCase"; result = tostring(CamelCase::inc(10)); -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org