octave-maintainers
[Top][All Lists]
Advanced

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

make check fails w/ recent hg


From: Dmitri A. Sergatskov
Subject: make check fails w/ recent hg
Date: Thu, 1 Sep 2016 03:47:49 -0500

changeset:   22415:a338dbafcc09

>> test null-assign.tst
***** test
 a = ones (3); b = []; fail ("subsasgn (a, substruct ('()', {':',1:2}), b)", ".");
!!!!! test failed
expected error <.> but got none

>> test __osmesa_print__.cc-tst
***** testif HAVE_OPENGL, HAVE_OSMESA, HAVE_GL2PS_H
 if (isunix ())
   hf = figure ("visible", "off");
   fn = tempname ();
   unwind_protect
     sombrero ();
     __osmesa_print__ (hf, fn, "svg");
     assert (stat (fn).size, 2692270, -0.1);
     img = __osmesa_print__ (hf);
     assert (size (img), [get(hf, "position")([4, 3]), 3]);
     ## Use pixel sum per RGB channel as fingerprint
     img_fp = squeeze (sum (sum (img), 2));
     assert (img_fp, [52942515; 54167797; 56158178], -0.05);
   unwind_protect_cleanup
     close (hf);
     unlink (fn);
   end_unwind_protect
 endif
!!!!! test failed
ASSERT errors for:  assert (stat (fn).size,2692270,-0.1)

  Location  |  Observed  |  Expected  |  Reason
     ()        2420056      2692270      Rel err 0.10111 exceeds tol 0.1



reply via email to

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