octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #53636] failing test under Windows: bsxfun.cc-


From: Hartmut
Subject: [Octave-bug-tracker] [bug #53636] failing test under Windows: bsxfun.cc-tst
Date: Fri, 13 Apr 2018 07:53:29 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:59.0) Gecko/20100101 Firefox/59.0

URL:
  <http://savannah.gnu.org/bugs/?53636>

                 Summary: failing test under Windows: bsxfun.cc-tst
                 Project: GNU Octave
            Submitted by: hardy
            Submitted on: Fri 13 Apr 2018 11:53:27 AM UTC
                Category: Test Suite
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Regression
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 4.3.90
        Operating System: Microsoft Windows

    _______________________________________________________

Details:

I installed the official 4.3.90 w64 installer under Win 10.

One (and only one) test is failing: bsxfun.cc-tst . This test was not yet
failing with Octave 4.2.2 on the same PC.

This is what I found in fntest.log :


>>>>> processing
C:\Octave\OCTAVE~1.90\share\octave\4.3.90\etc\tests\libinterp\corefcn\bsxfun.cc-tst
***** test
 funs = address@hidden, @minus, @times, @rdivide, @ldivide, @power, @max, @min, 
...
         @rem, @mod, @atan2, @hypot, @eq, @ne, @lt, @le, @gt, @ge, ...
         @and, @or, @xor };

 float_types = address@hidden, @double};
 int_types = address@hidden, @int16, @int32, @int64, ...
              @uint8, @uint16, @uint32, @uint64};

 x = rand (3) * 10-5;
 y = rand (3,1) * 10-5;

 for i=1:length (funs)
   for j = 1:length (float_types)
     for k = 1:length (int_types)

       fun = funs{i};
       f_type = float_types{j};
       i_type = int_types{k};

         assert (bsxfun (fun, f_type (x), i_type (y)), ...
                 fun (f_type(x), i_type (y)));
         assert (bsxfun (fun, f_type (y), i_type (x)), ...
                 fun (f_type(y), i_type (x)));

         assert (bsxfun (fun, i_type (x), i_type (y)), ...
                 fun (i_type (x), i_type (y)));
         assert (bsxfun (fun, i_type (y), i_type (x)), ...
                 fun (i_type (y), i_type (x)));

         assert (bsxfun (fun, f_type (x), f_type (y)), ...
                 fun (f_type (x), f_type (y)));
         assert (bsxfun (fun, f_type(y), f_type(x)), ...
                 fun (f_type (y), f_type (x)));
     endfor
   endfor
 endfor
!!!!! test failed
ASSERT errors for:  assert (bsxfun (fun, f_type (x), i_type (y)),fun (f_type
(x), i_type (y)))

  Location  |  Observed  |  Expected  |  Reason
   (2,2)       5442282      5442283      Abs err 1 exceeds tol 0 by 1
shared variables   scalar structure containing the fields:

    a =

    ans(:,:,1) =

       1.78672
       0.27992
      -0.61915

    ans(:,:,2) =

      -0.25891
       1.30055
      -0.49092

    ans(:,:,3) =

      -0.098843
      -0.482358
      -0.724215

    b =

    ans(:,:,1,1) =

       0.052885   0.068687   0.665253

    ans(:,:,2,1) =

       1.74760  -0.87201  -0.85146

    ans(:,:,3,1) =

      -0.701998   0.198724   0.093790

    ans(:,:,1,2) =

       1.88442  -1.05123  -0.43862

    ans(:,:,2,2) =

       0.33925  -0.66327   1.39562

    ans(:,:,3,2) =

      -0.31050  -0.51481   1.57162

    ans(:,:,1,3) =

      -0.106352   0.929991  -0.081016

    ans(:,:,2,3) =

      -1.40578  -1.72386   0.12906

    ans(:,:,3,3) =

       0.33246  -0.13230   1.02211

    aa =

    ans(:,:,1,1) =

       1.78672   1.78672   1.78672
       0.27992   0.27992   0.27992
      -0.61915  -0.61915  -0.61915

    ans(:,:,2,1) =

      -0.25891  -0.25891  -0.25891
       1.30055   1.30055   1.30055
      -0.49092  -0.49092  -0.49092

    ans(:,:,3,1) =

      -0.098843  -0.098843  -0.098843
      -0.482358  -0.482358  -0.482358
      -0.724215  -0.724215  -0.724215

    ans(:,:,1,2) =

       1.78672   1.78672   1.78672
       0.27992   0.27992   0.27992
      -0.61915  -0.61915  -0.61915

    ans(:,:,2,2) =

      -0.25891  -0.25891  -0.25891
       1.30055   1.30055   1.30055
      -0.49092  -0.49092  -0.49092

    ans(:,:,3,2) =

      -0.098843  -0.098843  -0.098843
      -0.482358  -0.482358  -0.482358
      -0.724215  -0.724215  -0.724215

    ans(:,:,1,3) =

       1.78672   1.78672   1.78672
       0.27992   0.27992   0.27992
      -0.61915  -0.61915  -0.61915

    ans(:,:,2,3) =

      -0.25891  -0.25891  -0.25891
       1.30055   1.30055   1.30055
      -0.49092  -0.49092  -0.49092

    ans(:,:,3,3) =

      -0.098843  -0.098843  -0.098843
      -0.482358  -0.482358  -0.482358
      -0.724215  -0.724215  -0.724215

    bb =

    ans(:,:,1,1) =

       0.052885   0.068687   0.665253
       0.052885   0.068687   0.665253
       0.052885   0.068687   0.665253

    ans(:,:,2,1) =

       1.74760  -0.87201  -0.85146
       1.74760  -0.87201  -0.85146
       1.74760  -0.87201  -0.85146

    ans(:,:,3,1) =

      -0.701998   0.198724   0.093790
      -0.701998   0.198724   0.093790
      -0.701998   0.198724   0.093790

    ans(:,:,1,2) =

       1.88442  -1.05123  -0.43862
       1.88442  -1.05123  -0.43862
       1.88442  -1.05123  -0.43862

    ans(:,:,2,2) =

       0.33925  -0.66327   1.39562
       0.33925  -0.66327   1.39562
       0.33925  -0.66327   1.39562

    ans(:,:,3,2) =

      -0.31050  -0.51481   1.57162
      -0.31050  -0.51481   1.57162
      -0.31050  -0.51481   1.57162

    ans(:,:,1,3) =

      -0.106352   0.929991  -0.081016
      -0.106352   0.929991  -0.081016
      -0.106352   0.929991  -0.081016

    ans(:,:,2,3) =

      -1.40578  -1.72386   0.12906
      -1.40578  -1.72386   0.12906
      -1.40578  -1.72386   0.12906

    ans(:,:,3,3) =

       0.33246  -0.13230   1.02211
       0.33246  -0.13230   1.02211
       0.33246  -0.13230   1.02211


How do I repeat a cc-tst test? Just "test bsxfun.cc-tst" did not work.




    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?53636>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]