fix tests for graphviz

This commit is contained in:
c9s 2014-06-01 14:41:45 +08:00
parent adde7bc361
commit 6e6de35fd0
3 changed files with 3 additions and 3 deletions

View file

@ -115,7 +115,7 @@ node * r3_tree_insert_pathl_(node *tree, const char *path, int path_len, route *
void r3_tree_dump(const node * n, int level);
int r3_tree_render_file(const node * tree, const char * format, char * filename);
int r3_tree_render_file(const node * tree, const char * format, const char * filename);
int r3_tree_render_dot(node * tree);

View file

@ -72,7 +72,7 @@ int r3_tree_render_dot(node * tree)
/**
* Render a tree to tree graph image via graphviz (dot)
*/
int r3_tree_render_file(const node * tree, const char * format, char * filename)
int r3_tree_render_file(const node * tree, const char * format, const char * filename)
{
Agraph_t *g;

View file

@ -6,7 +6,7 @@
# endif
TESTS = check_tree
AM_CFLAGS = -ggdb -Wall $(DEPS_CFLAGS) -I$(top_builddir) -I$(top_builddir)/include @CHECK_CFLAGS@
AM_LDFLAGS = $(DEPS_LIBS) -L$(top_builddir)/src -lr3 @CHECK_LIBS@
AM_LDFLAGS = $(DEPS_LIBS) -L$(top_builddir)/src -lr3 -lcheck @CHECK_LIBS@
noinst_HEADERS = \