Mercurial > octave
changeset 24250:f74678605da9
* jit.tst: Disable tests that hang the interpreter.
author | Julien Bect <jbect@users.sourceforge.net> |
---|---|
date | Sun, 05 Nov 2017 20:25:17 +0100 |
parents | 790b4389cfb4 |
children | 599fe61a5619 |
files | test/jit.tst |
diffstat | 1 files changed, 31 insertions(+), 31 deletions(-) [+] |
line wrap: on
line diff
--- a/test/jit.tst Sun Jul 23 08:35:32 2017 +0200 +++ b/test/jit.tst Sun Nov 05 20:25:17 2017 +0100 @@ -187,17 +187,17 @@ %! assert (abs (result - 1/9) < 1e-5); %! assert (jit_failcnt, 0); -%!testif HAVE_LLVM -%! jit_failcnt (0); -%! temp = 1+1i; -%! nan = NaN; -%! while (1) -%! temp = temp - 1i; -%! temp = temp * nan; -%! break; -%! endwhile -%! assert (imag (temp), 0); -%! assert (jit_failcnt, 0); +# %!testif HAVE_LLVM +# %! jit_failcnt (0); +# %! temp = 1+1i; +# %! nan = NaN; +# %! while (1) +# %! temp = temp - 1i; +# %! temp = temp * nan; +# %! break; +# %! endwhile +# %! assert (imag (temp), 0); +# %! assert (jit_failcnt, 0); %!testif HAVE_LLVM %! jit_failcnt (0); @@ -212,15 +212,15 @@ %! assert (imag (temp), 0); %! assert (jit_failcnt, 0); -%!testif HAVE_LLVM -%! jit_failcnt (0); -%! temp = 1+1i; -%! while (1) -%! temp = temp * 5; -%! break; -%! endwhile -%! assert (temp, 5+5i); -%! assert (jit_failcnt, 0); +# %!testif HAVE_LLVM +# %! jit_failcnt (0); +# %! temp = 1+1i; +# %! while (1) +# %! temp = temp * 5; +# %! break; +# %! endwhile +# %! assert (temp, 5+5i); +# %! assert (jit_failcnt, 0); %!testif HAVE_LLVM %! jit_failcnt (0); @@ -460,17 +460,17 @@ %! assert (a == 9); %! assert (jit_failcnt, 0); -%!testif HAVE_LLVM -%! jit_failcnt (0); -%! num = 2; -%! a = zeros (1, num); -%! i = 1; -%! while i <= num -%! a(i) = norm (eye (i)); -%! ++i; -%! endwhile -%! assert (a, ones (1, num)); -%! assert (jit_failcnt, 0); +# %!testif HAVE_LLVM +# %! jit_failcnt (0); +# %! num = 2; +# %! a = zeros (1, num); +# %! i = 1; +# %! while i <= num +# %! a(i) = norm (eye (i)); +# %! ++i; +# %! endwhile +# %! assert (a, ones (1, num)); +# %! assert (jit_failcnt, 0); %!function test_compute_idom () %! while (li <= length (l1) && si <= length (s1))