testcommon/automation: add [--audio driver] option

allow to use --audio --video --renderer for testautomation
This commit is contained in:
Sylvain authored and Sylvain Becker committed 2023-03-27 10:23:18 +02:00
1 parent 9ada9daf51
commit d3faec0b6e
2 files changed
+14 -4

No files matched your search

+1 -1
View File
@@ -67,7 +67,7 @@ int main(int argc, char *argv[])
int list = 0;
/* Initialize test framework */
state = SDLTest_CommonCreateState(argv, SDL_INIT_VIDEO);
state = SDLTest_CommonCreateState(argv, SDL_INIT_VIDEO | SDL_INIT_AUDIO);
if (state == NULL) {
return 1;
}