Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

Plain logger logs the used command line options.

  • Loading branch information
mkauppila committed Jul 12, 2011
1 parent f79acde commit f7f5009770c12cdfb465705109ecff79011ed44b
Showing with 7 additions and 8 deletions.
  1. +3 −4 test/test-automation/plain_logger.c
  2. +4 −4 test/test-automation/testsurface/testsurface.c
@@ -40,16 +40,15 @@ PlainRunStarted(int parameterCount, char *runnerParameters[], time_t eventTime,
void *data)
{
Output(indentLevel, "Test run started at %s", TimestampToString(eventTime));
Output(indentLevel, "");
/*
Output(indentLevel, "Runner: ");
Output(indentLevel, "Runner parameters: ");

int counter = 0;
for(counter = 0; counter < parameterCount; counter++) {
char *parameter = runnerParameters[counter];
Output(indentLevel, "\t%s", parameter);
}
*/

Output(indentLevel, "");
}

void
@@ -18,7 +18,7 @@ static const TestCaseReference test2 =
(TestCaseReference){ "surface_testBlit", "Tests some blitting routines.", TEST_ENABLED, 0, 0};

static const TestCaseReference test3 =
(TestCaseReference){ "surface_testBlitBlendNone", "Tests some more blitting routines.", TEST_ENABLED, 0, 0};
(TestCaseReference){ "surface_testBlitBlendNone", "Tests blitting routines with none blending.", TEST_ENABLED, 0, 0};

static const TestCaseReference test4 =
(TestCaseReference){ "surface_testLoadFailure", "Tests sprite loading. A failure case.", TEST_ENABLED, 0, 0};
@@ -36,13 +36,13 @@ static const TestCaseReference test8 =
(TestCaseReference){ "surface_testBlitBlendLoop", "Test blittin routines with blending", TEST_ENABLED, 0, 0};

static const TestCaseReference test9 =
(TestCaseReference){ "surface_testBlitBlendBlend", "Tests some more blitting routines.", TEST_ENABLED, 0, 0};
(TestCaseReference){ "surface_testBlitBlendBlend", "Tests blitting routines with blend blending.", TEST_ENABLED, 0, 0};

static const TestCaseReference test10 =
(TestCaseReference){ "surface_testBlitBlendAdd", "Tests some more blitting routines.", TEST_ENABLED, 0, 0};
(TestCaseReference){ "surface_testBlitBlendAdd", "Tests blitting routines with add blending.", TEST_ENABLED, 0, 0};

static const TestCaseReference test11 =
(TestCaseReference){ "surface_testBlitBlendMod", "Tests some more blitting routines.", TEST_ENABLED, 0, 0};
(TestCaseReference){ "surface_testBlitBlendMod", "Tests blitting routines with modblending.", TEST_ENABLED, 0, 0};

/* Test suite */
extern const TestCaseReference *testSuite[] = {

0 comments on commit f7f5009

Please sign in to comment.