From: Anais AUBERT Date: Wed, 22 Apr 2015 09:04:59 +0000 (+0200) Subject: fix bug 3036 : stacksize no more in yasp X-Git-Tag: 6.0.0-alpha-1~247 X-Git-Url: http://gitweb.scilab.org/?p=scilab.git;a=commitdiff_plain;h=657eed259925e03fe651b8fd43e862789f5a49d9 fix bug 3036 : stacksize no more in yasp test_run("graphics","bug_3036",["no_check_error_output" ]); Change-Id: Ie5ecfea5708423b310a43fad944af08cbd387e7f --- 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();