Re: Ioke - getting started.

  • From: Ola Bini <ola.bini@gmail.com>
  • To: Martin Elwin <martin@elwin.com>
  • Cc: dev@ioke.kenai.com
  • Subject: Re: Ioke - getting started.
  • Date: Fri, 09 Jan 2009 07:54:54 +0100
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=TZzY05HIGyL+yB3Ta/Wslj9bFkMGI2pWBOBiW1G6cptY70sVhfghcInD4pPDJP4mA3 eC41h5VSoYulqYBiLAHaT51UDoD/1FWdQdgxSW1tZKKVJQ7YdG1TjSAD0iNmgKB+9UkC +pf1JCdGT3amd/SbfhWHiodPB6H3E5nrjkGAk=

Martin Elwin wrote:
On Thu, Jan 8, 2009 at 10:21 PM, Ola Bini <ola.bini@gmail.com> wrote:
This could be an ordering problem. Meaning it only fails when running all the 
tests, and it only fails in one specific ordering of them because they're 
failing because of a global name being there when it shouldn't - or the other 
way around. Could you just add it to the issue tracker and I'll fix it 
tomorrow?

Yes, indeed. Digging further (and increasing my grasp of Ioke as
well!) revealed that the two tests failed because of other tests
setting cells in Ground which the subsequent tests didn't expect:

% grep -r "Ground flurg =" test
test/message_spec.ik:      Message wrap(Ground flurg = 444)
test/default_behavior_spec.ik:      `(Ground flurg = 444)

% grep -r "Ground y =" test
test/list_spec.ik:      Ground y = []
test/range_spec.ik:      Ground y = []
test/range_spec.ik:      Ground y = []
test/range_spec.ik:      Ground y = []
test/range_spec.ik:      Ground y = []
test/dict_spec.ik:      Ground y = []
test/set_spec.ik:      Ground y = []

I'm not sure if you want the tests to leave the world in a clean state
or if we could just change the used cell names. As no existing tests
do any cleanup to speak of I just change the cell names, which
resolved the issue. Fixes for each tests are commited to
git://github.com/melwin/ioke.git

I also added this to bugzilla
(http://kenai.com/bugzilla/show_bug.cgi?id=163) for tracking.
Yeah, currently the tests have a tendency to litter global namespaces. That is OK, as long as the names are sufficiently unique. Thanks for looking at it.

Cheers

--
Ola Bini (http://olabini.com) JRuby Core Developer
Developer, ThoughtWorks Studios (http://studios.thoughtworks.com)
Practical JRuby on Rails (http://apress.com/book/view/9781590598818)

"Yields falsehood when quined" yields falsehood when quined.




Ioke - getting started.

Martin Elwin 01/08/2009

Re: Ioke - getting started.

Ola Bini 01/08/2009

Re: Ioke - getting started.

Martin Elwin 01/08/2009

Re: Ioke - getting started.

Ola Bini 01/09/2009
  • Mysql
  • Glassfish
  • Jruby
  • Rails
  • Nblogo
Terms of Use; Privacy Policy;
© 2010, Oracle Corporation and/or its affiliates
(revision 20120127.ac94057)
 
 
Close
loading
Please Confirm
Close