This repository has been archived by the owner on Feb 11, 2021. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added empty test suite for testing rwops.
- Loading branch information
Showing
6 changed files
with
48 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
lib_LTLIBRARIES = libtestrwops.la | ||
libtestrwops_la_SOURCES = testrwops.c | ||
libtestrwops_la_CLAGS = -fPIC -g | ||
libtestrwops_la_LDFLAGS = `sdl-config --libs` -I ../.libs/libtest.la |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
/** | ||
* Original code: automated SDL platform test written by Edgar Simo "bobbens" | ||
* Extended and updated by aschiffler at ferzkopp dot net | ||
*/ | ||
|
||
#include <stdio.h> | ||
|
||
#include <SDL/SDL.h> | ||
|
||
#include "../SDL_test.h" | ||
|
||
|
||
|
||
/*! | ||
* Note: Port tests from "/test/automated/rwops" here | ||
* | ||
*/ | ||
|
||
/* Test cases */ | ||
static const TestCaseReference test1 = | ||
(TestCaseReference){ "rwops_test", "rwopsy", TEST_ENABLED, 0, 0 }; | ||
|
||
/* Test suite */ | ||
extern const TestCaseReference *testSuite[] = { | ||
&test1, NULL | ||
}; | ||
|
||
TestCaseReference **QueryTestSuite() { | ||
return (TestCaseReference **)testSuite; | ||
} | ||
|
||
/** | ||
* @brief Document test case here | ||
*/ | ||
int | ||
rwops_test(void *arg) | ||
{ | ||
AssertPass(""); | ||
} |