Added timeout for dummycase3 in libtestdummy.
authorMarkus Kauppila <markus.kauppila@gmail.com>
Thu, 14 Jul 2011 20:57:16 +0300
changeset 5761 63619145c6dc
parent 5760 735407c0bda3
child 5762 295df8ecf988
Added timeout for dummycase3 in libtestdummy.
test/test-automation/testdummy/testdummy.c
--- a/test/test-automation/testdummy/testdummy.c	Thu Jul 14 20:43:32 2011 +0300
+++ b/test/test-automation/testdummy/testdummy.c	Thu Jul 14 20:57:16 2011 +0300
@@ -38,7 +38,7 @@
 		(TestCaseReference){ "dummycase2", "description", TEST_ENABLED, 0, 0};
 
 static const TestCaseReference test3 =
-		(TestCaseReference){ "dummycase3", "description", TEST_ENABLED, 0, 0};
+		(TestCaseReference){ "dummycase3", "description", TEST_ENABLED, 0, 2};
 
 /* Test suite */
 extern const TestCaseReference *testSuite[] =  {
@@ -102,6 +102,7 @@
 void
 dummycase3(void *arg)
 {
-	AssertTrue(1, "Assert message");
+	while(1);
+	//AssertTrue(1, "Assert message");
 }