From 657eed259925e03fe651b8fd43e862789f5a49d9 Mon Sep 17 00:00:00 2001 From: Anais AUBERT Date: Wed, 22 Apr 2015 11:04:59 +0200 Subject: [PATCH] fix bug 3036 : stacksize no more in yasp test_run("graphics","bug_3036",["no_check_error_output" ]); Change-Id: Ie5ecfea5708423b310a43fad944af08cbd387e7f --- .../graphics/tests/nonreg_tests/bug_3036.dia.ref | 2 +- .../graphics/tests/nonreg_tests/bug_3036.tst | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/scilab/modules/graphics/tests/nonreg_tests/bug_3036.dia.ref b/scilab/modules/graphics/tests/nonreg_tests/bug_3036.dia.ref index f32c96a..f78d746 100644 --- a/scilab/modules/graphics/tests/nonreg_tests/bug_3036.dia.ref +++ b/scilab/modules/graphics/tests/nonreg_tests/bug_3036.dia.ref @@ -15,7 +15,7 @@ xdel(winsid()); x=linspace(-%pi,%pi,1000)'; ierr = execstr('surf(x,x,sin(x)*cos(x)'');','errcatch'); -if ierr <> 17 then bugmes();quit;end +if ierr <> 0 then bugmes();quit;end x=linspace(-%pi,%pi,100)'; plot(x,x); curfig = gcf(); diff --git a/scilab/modules/graphics/tests/nonreg_tests/bug_3036.tst b/scilab/modules/graphics/tests/nonreg_tests/bug_3036.tst index a8df932..c56388c 100644 --- a/scilab/modules/graphics/tests/nonreg_tests/bug_3036.tst +++ b/scilab/modules/graphics/tests/nonreg_tests/bug_3036.tst @@ -17,8 +17,8 @@ xdel(winsid()); x=linspace(-%pi,%pi,1000)'; -ierr = execstr('surf(x,x,sin(x)*cos(x)'');','errcatch'); -if ierr <> 17 then pause,end +ierr = execstr("surf(x,x,sin(x)*cos(x)'');","errcatch"); +if ierr <> 0 then pause,end x=linspace(-%pi,%pi,100)'; plot(x,x); curfig = gcf(); -- 1.7.9.5