From 481c64b262fbb62fe5f9aa3f8161baa0491c7273 Mon Sep 17 00:00:00 2001 From: Markus Kauppila Date: Sat, 11 Jun 2011 21:37:28 +0300 Subject: [PATCH] Added timeout to TestCaseReference. --- test/test-automation/SDL_test.h | 14 ++++++++++---- test/test-automation/testdummy/testdummy.c | 6 +++--- test/test-automation/testrect/testrect.c | 2 +- 3 files changed, 14 insertions(+), 8 deletions(-) diff --git a/test/test-automation/SDL_test.h b/test/test-automation/SDL_test.h index b61fc2d66..f2e387e50 100644 --- a/test/test-automation/SDL_test.h +++ b/test/test-automation/SDL_test.h @@ -35,10 +35,16 @@ extern int _testAssertsPassed; * Holds information about a test case */ typedef struct TestCaseReference { - char *name; /*!< "Func2Stress" */ - char *description; /*!< "This test beats the crap out of func2()" */ - int enabled; /*!< Set to TEST_ENABLED or TEST_DISABLED */ - long requirements; /*!< Set to TEST_REQUIRES_OPENGL, TEST_REQUIRES_AUDIO, ... */ + /*!< "Func2Stress" */ + char *name; + /*!< "This test beats the crap out of func2()" */ + char *description; + /*!< Set to TEST_ENABLED or TEST_DISABLED */ + int enabled; + /*!< Set to TEST_REQUIRES_OPENGL, TEST_REQUIRES_AUDIO, ... */ + long requirements; + /*