This commit is contained in:
Sasha Szpakowski
2024-12-25 20:18:57 -04:00
parent a275d78e12
commit f27a1c24b3
426 changed files with 22204 additions and 16006 deletions
+10
View File
@@ -62,6 +62,7 @@ int main(int argc, char *argv[])
{
SDLTest_CommonState *state;
char *pref_path;
char *curdir;
const char *base_path;
/* Initialize test framework */
@@ -106,6 +107,15 @@ int main(int argc, char *argv[])
}
SDL_free(pref_path);
curdir = SDL_GetCurrentDirectory();
if (!curdir) {
SDL_LogError(SDL_LOG_CATEGORY_APPLICATION, "Couldn't find current directory: %s\n",
SDL_GetError());
} else {
SDL_Log("current directory: '%s'\n", curdir);
}
SDL_free(curdir);
if (base_path) {
char **globlist;
SDL_IOStream *stream;