summaryrefslogtreecommitdiff
path: root/src/gallium/state_trackers/python/tests/tree.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/state_trackers/python/tests/tree.py')
-rwxr-xr-xsrc/gallium/state_trackers/python/tests/tree.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/state_trackers/python/tests/tree.py b/src/gallium/state_trackers/python/tests/tree.py
index 14b3599c6d..0c1bcda4cf 100755
--- a/src/gallium/state_trackers/python/tests/tree.py
+++ b/src/gallium/state_trackers/python/tests/tree.py
@@ -18,4 +18,6 @@ for arg in sys.argv[1:]:
orngTree.printTxt(tree)
+ file(name+'.txt', 'wt').write(orngTree.dumpTree(tree) + '\n')
+
orngTree.printDot(tree, fileName=name+'.dot', nodeShape='ellipse', leafShape='box')