graphviz: fix test errors on the mac.
parent
aa1c5cde7d
commit
d9786d984a
|
|
@ -104,8 +104,11 @@ M: ffi-errors error.
|
||||||
" error(s) occurred while rendering." print
|
" error(s) occurred while rendering." print
|
||||||
"(The messages were probably printed to STDERR.)" print ;
|
"(The messages were probably printed to STDERR.)" print ;
|
||||||
|
|
||||||
|
: ?ffi-errors ( n -- )
|
||||||
|
[ ffi-errors ] unless-zero ; inline
|
||||||
|
|
||||||
: gvFreeContext ( gvc -- )
|
: gvFreeContext ( gvc -- )
|
||||||
int-gvFreeContext [ ffi-errors ] unless-zero ;
|
int-gvFreeContext ?ffi-errors ;
|
||||||
|
|
||||||
DESTRUCTOR: gvFreeContext
|
DESTRUCTOR: gvFreeContext
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -83,9 +83,8 @@ M: unsupported-engine summary
|
||||||
graph id>> graph kind agopen &agclose :> g
|
graph id>> graph kind agopen &agclose :> g
|
||||||
g graph build-alien
|
g graph build-alien
|
||||||
g -K compute-engine :> engine
|
g -K compute-engine :> engine
|
||||||
gvc g engine gvLayout drop
|
gvc g engine gvLayout ?ffi-errors
|
||||||
[ gvc g -T -o gvRenderFilename drop -o ]
|
gvc g -T -o gvRenderFilename ?ffi-errors -o
|
||||||
[ gvc g gvFreeLayout drop ] [ ] cleanup
|
|
||||||
] with-destructors ;
|
] with-destructors ;
|
||||||
|
|
||||||
: (preview) ( graph -- -o )
|
: (preview) ( graph -- -o )
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue