diff options
Diffstat (limited to 'Examples/test-suite/python/python_threads_runme.py')
-rw-r--r-- | Examples/test-suite/python/python_threads_runme.py | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/Examples/test-suite/python/python_threads_runme.py b/Examples/test-suite/python/python_threads_runme.py new file mode 100644 index 000000000..d00e2458f --- /dev/null +++ b/Examples/test-suite/python/python_threads_runme.py @@ -0,0 +1,10 @@ +from python_threads import * + +action = ActionGroup() +count = 1 +for child in action.GetActionList(): + if child.val != count: + raise RuntimeError("Expected: " + str(count) + " got: " + str(child.val)) + count = count + 1 + +# Was seg faulting at the end here |