Skip to content

narray 0.6.0.8 test fails #37

Open

Description

@graaff

With ruby 1.8.7 (2012-10-12 patchlevel 371) [x86_64-linux] I'm getting the following test failure:

..... the next will fail .....
$a.rot90                       
test/testreverse.rb:5:in `px': ./lib/narray_ext.rb:267:in `rot90': must be >= 2 dimensional array (RuntimeError)
    from (eval):1:in `px'
    from test/testreverse.rb:26:in `eval'
    from test/testreverse.rb:5:in `px'
    from test/testreverse.rb:26

Activity

  1. masa16 commented on May 9, 2013

    @masa16
    Owner

    See the first line you copied.

  2. graaff commented on May 9, 2013

    @graaff
    Author

    So you are saying that the test suite should crash and have an exit code of 1? That makes it more difficult to use a CI system which always expects a clean run. You can't catch this exception and test it?

  3. masa16 commented on May 9, 2013

    @masa16
    Owner

    This is a legacy test code before unit test became popular. Now it should be rewritten as Spec...

  4. graaff commented on May 9, 2013

    @graaff
    Author

    Aha, now I see what is going on. We already comment out the other similar tests for Gentoo's test phase, but this one has different wording. Ok, I'll handle this on the Gentoo side.

  5. graaff commented on May 9, 2013

    @graaff
    Author

    Now that I'm past this problem I'm also seeing

    test/testcomplex.rb:13:in `<main>': undefined method `im' for 0.25:Float (NoMethodError)
    
  6. reopened this on May 9, 2013
  7. masa16 commented on May 9, 2013

    @masa16
    Owner

    Fixed. c56dc59
    Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions