Ported rwops test suite.
This commit is contained in:
parent
9c7ff0059f
commit
b96fa6da9a
7 changed files with 222 additions and 14 deletions
|
@ -761,6 +761,11 @@ CheckTestRequirements(TestCase *testCase)
|
|||
retVal = PlatformSupportsAudio();
|
||||
}
|
||||
|
||||
if(testCase->requirements & TEST_REQUIRES_STDIO) {
|
||||
retVal = PlatformSupportsStdio();
|
||||
}
|
||||
|
||||
|
||||
return retVal;
|
||||
}
|
||||
|
||||
|
|
|
@ -37,6 +37,18 @@ PlatformSupportsAudio()
|
|||
return retValue;
|
||||
}
|
||||
|
||||
int
|
||||
PlatformSupportsStdio()
|
||||
{
|
||||
int retValue = 0;
|
||||
|
||||
#ifdef HAVE_STDIO_H
|
||||
retValue = 1;
|
||||
#endif
|
||||
|
||||
return retValue;
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
|
||||
|
|
|
@ -28,4 +28,12 @@
|
|||
*/
|
||||
int PlatformSupportsAudio();
|
||||
|
||||
/*!
|
||||
* Checks if platform supports stdio.
|
||||
*
|
||||
* \return 1 if audio is supported, otherwise 0
|
||||
*/
|
||||
int PlatformSupportsStdio();
|
||||
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue