[Top][All Lists]

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

Re: Buildbot Progress

From: Rik
Subject: Re: Buildbot Progress
Date: Wed, 10 Jan 2018 15:10:45 -0800

On 01/10/2018 01:39 PM, Dmitri A. Sergatskov wrote:
On Wed, Jan 10, 2018 at 11:31 AM, John W. Eaton <address@hidden> wrote:
On 01/09/2018 12:25 PM, Rik wrote:

Making progress.  Clang on Mac OSX is now green.  The package of-control
now compiles which, alas, just uncovered the next problem further down with

It is all green now.  I'm sure that's the first time this has happened for this set of builds.

​Somebody jinxed it :) ​

libinterp/corefcn/bsxfun.cc-tst ............................. PASS     75/76  
                                                                  FAIL    1
***** 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)));
!!!!! 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
   (1,3)       52597681     52597680     Abs err 1 exceeds tol 0 by 1

​I thought Mike Miller addressed this particular problem, but I could not find the thread / bug report.
​Should we just fix a seed for rand() in this test?

We could do that, but that would be our option of last resort.  Can we figure out which test is failing first and understand why it is failing?


reply via email to

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