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

allow to use --audio --video --renderer for testautomation
This commit is contained in:
Sylvain
2023-03-27 10:20:34 +02:00
committed by Sylvain Becker
parent 9ada9daf51
commit d3faec0b6e
2 changed files with 14 additions and 4 deletions

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;
}