Testing out implementation for skipping unsupported test

automatically.
This commit is contained in:
Markus Kauppila 2011-07-18 22:26:26 +03:00
parent 8190ae317e
commit e16810661d
7 changed files with 101 additions and 10 deletions

View file

@ -35,6 +35,7 @@
#include "plain_logger.h"
#include "xml_logger.h"
#include "logger.h"
#include "support.h"
//!< Function pointer to a test case function
typedef void (*TestCaseFp)(void *arg);
@ -438,6 +439,12 @@ FilterTestCase(TestCaseReference *testReference)
}
}
if(testReference->requirements & TEST_REQUIRES_AUDIO) {
//printf("Debug: checking for audio support.\n");
retVal = PlatformSupportsAudio();
//printf("Debug: Audio support: %d\n", retVal);
}
return retVal;
}