# HG changeset patch # User Markus Mützel # Date 1619875048 -7200 # Node ID 10292fb30c8f1d1b5f22562def78b586438d3a1b # Parent c8585732ce08834e537a4c071a10e6d0cd5c5bdc logspace.m: Mark tests as known to fail on macOS (bug #55538). * scripts/general/logspace.m: Duplicate tests to mark them as known errors on macOS. (grafted from 955832ec3af146c1e22019a9e4136a48029c0e3f) diff -r c8585732ce08 -r 10292fb30c8f scripts/general/logspace.m --- a/scripts/general/logspace.m Sun Jun 20 10:03:38 2021 +0200 +++ b/scripts/general/logspace.m Sat May 01 15:17:28 2021 +0200 @@ -106,8 +106,14 @@ ## Edge cases %!assert (logspace (Inf, Inf, 3), [Inf, Inf, Inf]) %!assert (logspace (-Inf, Inf, 3), [0, 1, Inf]) -%!assert (logspace (Inf + 1i, Inf + 1i, 3), repmat (complex (-Inf,Inf), [1, 3])) -%!assert (logspace (-Inf + 1i, Inf + 1i, 3), [0, NaN + NaN * 1i, complex(-Inf, Inf)]) +%!testif ; ! ismac () +%! assert (logspace (Inf + 1i, Inf + 1i, 3), repmat (complex (-Inf,Inf), [1, 3])) +%!testif ; ismac () <55538> +%! assert (logspace (Inf + 1i, Inf + 1i, 3), repmat (complex (-Inf,Inf), [1, 3])) +%!testif ; ! ismac () +%! assert (logspace (-Inf + 1i, Inf + 1i, 3), [0, NaN + NaN * 1i, complex(-Inf, Inf)]) +%!testif ; ismac () <55538> +%! assert (logspace (-Inf + 1i, Inf + 1i, 3), [0, NaN + NaN * 1i, complex(-Inf, Inf)]) %!assert (logspace (0, Inf, 3), [1, Inf, Inf]) %!assert (logspace (0, -Inf, 3), [1, 0, 0]) %!assert (logspace (Inf, -Inf, 3), [Inf, 1, 0])