Mercurial > octave
changeset 25092:69cbaa179780 stable
test: Temporarily workaround delete() failure in BIST tests (bug #53513).
* graphics.cc: Add a 5ms pause after deleting uicontextmenu so that changes can
propagate to parent figure.
author | Rik <rik@octave.org> |
---|---|
date | Mon, 02 Apr 2018 15:55:01 -0700 |
parents | 2b8442c890d8 |
children | 7c184f1dce65 c0d48cfbb59a |
files | libinterp/corefcn/graphics.cc |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/libinterp/corefcn/graphics.cc Mon Apr 02 14:52:54 2018 -0500 +++ b/libinterp/corefcn/graphics.cc Mon Apr 02 15:55:01 2018 -0700 @@ -9432,6 +9432,7 @@ %! assert (get (hax, "uicontextmenu"), hctx2); %! assert (get (hf, "children"), [hctx2; hctx1; hax]); %! delete (hctx2); +%! pause (.005); %! assert (get (hf, "uicontextmenu"), []); %! assert (get (hax, "uicontextmenu"), []); %! assert (get (hf, "children"), [hctx1; hax]);