Commit 8666ae66 authored by Matthias Möller's avatar Matthias Möller

- fixed return value if program exit on failure

- fixed grouptest

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@16227 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 8a9abb94
......@@ -33,7 +33,10 @@ id2 = primitivesgenerator.addSphere()
list = [id2,id]
groupid2 = datacontrol.groupObjects(list)
print("unexpected group count")
print("number of groups: " + datacontrol.groupCount())
print("expected number of groups: 2")
core.exitFailure()
\ No newline at end of file
if (datacontrol.groupCount() != 3)
{
print("unexpected group count")
print("number of groups: " + datacontrol.groupCount())
print("expected number of groups: 3")
core.exitFailure()
}
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment