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

- 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() ...@@ -33,7 +33,10 @@ id2 = primitivesgenerator.addSphere()
list = [id2,id] list = [id2,id]
groupid2 = datacontrol.groupObjects(list) groupid2 = datacontrol.groupObjects(list)
print("unexpected group count") if (datacontrol.groupCount() != 3)
print("number of groups: " + datacontrol.groupCount()) {
print("expected number of groups: 2") print("unexpected group count")
core.exitFailure() print("number of groups: " + datacontrol.groupCount())
\ No newline at end of file print("expected number of groups: 3")
core.exitFailure()
}
\ No newline at end of file
Supports Markdown
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