From 8666ae66e2eb0132a48e6849d05ff02219cc521a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matthias=20M=C3=B6ller?= <matthias.moeller@rwth-aachen.de> Date: Fri, 1 Feb 2013 10:07:36 +0000 Subject: [PATCH] - 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 --- tests/group.ofs | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/tests/group.ofs b/tests/group.ofs index 6b5314b..3808eb4 100644 --- a/tests/group.ofs +++ b/tests/group.ofs @@ -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 -- GitLab