Closed madebr closed 1 year ago
@madebr can you try with this, ? seem a limitation to open multiple playback/capture at the same time. At least it shouldn't assert !
These make the tests run without triggering any assertion. Some audio tests still fail (and a clipboard + a few render ones). I disabled the video test suite because it caused the app to close prematurely.
~android-testautomation-2.txt~ android-testautomation-3.txt
10-14 19:07:01.311 29811 11282 I SDL/TEST: 10/14/22 19:07:01: Harness input to repro failures:
10-14 19:07:01.311 29811 11282 I SDL/TEST: 10/14/22 19:07:01: --seed 6AAHOW1FA3ZQAL16 --filter audio_openCloseAndGetAudioStatus
10-14 19:07:01.311 29811 11282 I SDL/TEST: 10/14/22 19:07:01: --seed 6AAHOW1FA3ZQAL16 --filter audio_lockUnlockOpenAudioDevice
10-14 19:07:01.311 29811 11282 I SDL/TEST: 10/14/22 19:07:01: --seed 6AAHOW1FA3ZQAL16 --filter audio_initOpenCloseQuitAudio
10-14 19:07:01.311 29811 11282 I SDL/TEST: 10/14/22 19:07:01: --seed 6AAHOW1FA3ZQAL16 --filter audio_pauseUnpauseAudio
10-14 19:07:01.311 29811 11282 I SDL/TEST: 10/14/22 19:07:01: --seed 6AAHOW1FA3ZQAL16 --filter clipboard_testClipboardTextFunctions
10-14 19:07:01.311 29811 11282 I SDL/TEST: 10/14/22 19:07:01: --seed 6AAHOW1FA3ZQAL16 --filter render_testPrimitives
10-14 19:07:01.311 29811 11282 I SDL/TEST: 10/14/22 19:07:01: --seed 6AAHOW1FA3ZQAL16 --filter render_testViewport
10-14 19:07:01.311 29811 11282 I SDL/TEST: 10/14/22 19:07:01: --seed 6AAHOW1FA3ZQAL16 --filter render_testLogicalSize
10-14 19:07:01.311 29811 11282 I SDL/TEST: 10/14/22 19:07:01: --seed 6AAHOW1FA3ZQAL16 --filter surface_testSaveLoadBitmap
maybe that would improve aaudio backend: https://github.com/libsdl-org/SDL/pull/7587 ?
I re-run the audio test ( using seed RNAUALFYJ8NXIAEG) at start I got:
SDL/TEST: - date - : Assert Summary: Total=48 Passed=48 Failed=0
SDL/TEST: - date - : Assert Summary: Total=21 Passed=21 Failed=0
SDL/TEST: - date - : Assert Summary: Total=20 Passed=20 Failed=0
SDL/TEST: - date - : Assert Summary: Total=6 Passed=6 Failed=0
SDL/TEST: - date - : Assert Summary: Total=455 Passed=455 Failed=0
SDL/TEST: - date - : Assert Summary: Total=320 Passed=320 Failed=0
SDL/TEST: - date - : Assert Summary: Total=5 Passed=5 Failed=0
SDL/TEST: - date - : Assert Summary: Total=16 Passed=13 Failed=3
SDL/TEST: - date - : Assert Summary: Total=16 Passed=13 Failed=3
SDL/TEST: - date - : Assert Summary: Total=6 Passed=6 Failed=0
SDL/TEST: - date - : Assert Summary: Total=41 Passed=41 Failed=0
SDL/TEST: - date - : Assert Summary: Total=103 Passed=88 Failed=15
SDL/TEST: - date - : Assert Summary: Total=263 Passed=193 Failed=70
SDL/TEST: - date - : Assert Summary: Total=37 Passed=37 Failed=0
SDL/TEST: - date - : Suite Summary: Total=16 Passed=10 Failed=4 Skipped=2
SDL/TEST: - date - : Run Summary: Total=16 Passed=10 Failed=4 Skipped=2
after, the PR #7610
SDL/TEST: - date - : Assert Summary: Total=45 Passed=45 Failed=0
SDL/TEST: - date - : Assert Summary: Total=21 Passed=21 Failed=0
SDL/TEST: - date - : Assert Summary: Total=20 Passed=20 Failed=0
SDL/TEST: - date - : Assert Summary: Total=6 Passed=6 Failed=0
SDL/TEST: - date - : Assert Summary: Total=455 Passed=455 Failed=0
SDL/TEST: - date - : Assert Summary: Total=320 Passed=320 Failed=0
SDL/TEST: - date - : Assert Summary: Total=5 Passed=5 Failed=0
SDL/TEST: - date - : Assert Summary: Total=12 Passed=10 Failed=2
SDL/TEST: -date - : Assert Summary: Total=12 Passed=10 Failed=2
SDL/TEST: - date - : Assert Summary: Total=6 Passed=6 Failed=0
SDL/TEST: - date - : Assert Summary: Total=41 Passed=41 Failed=0
SDL/TEST: - date - : Assert Summary: Total=103 Passed=88 Failed=15
SDL/TEST: - date - : Assert Summary: Total=263 Passed=193 Failed=70
SDL/TEST: - date - : Assert Summary: Total=37 Passed=37 Failed=0
SDL/TEST: - date - : Suite Summary: Total=16 Passed=10 Failed=4 Skipped=2
SDL/TEST: - date - : Run Summary: Total=16 Passed=10 Failed=4 Skipped=2
after, adding, also #7587:
SDL/TEST: - date - : Assert Summary: Total=45 Passed=45 Failed=0
SDL/TEST: - date - : Assert Summary: Total=21 Passed=21 Failed=0
SDL/TEST: - date - : Assert Summary: Total=20 Passed=20 Failed=0
SDL/TEST: - date - : Assert Summary: Total=6 Passed=6 Failed=0
SDL/TEST: - date - : Assert Summary: Total=455 Passed=455 Failed=0
SDL/TEST: - date - : Assert Summary: Total=320 Passed=320 Failed=0
SDL/TEST: - date - : Assert Summary: Total=5 Passed=5 Failed=0
SDL/TEST: - date - : Assert Summary: Total=18 Passed=18 Failed=0
SDL/TEST: - date - : Assert Summary: Total=18 Passed=18 Failed=0
SDL/TEST: - date - : Assert Summary: Total=6 Passed=6 Failed=0
SDL/TEST: - date - : Assert Summary: Total=41 Passed=41 Failed=0
SDL/TEST: - date - : Assert Summary: Total=103 Passed=103 Failed=0
SDL/TEST: - date - : Assert Summary: Total=263 Passed=263 Failed=0
SDL/TEST: - date - : Assert Summary: Total=37 Passed=37 Failed=0
SDL/TEST: - date - : Suite Summary: Total=16 Passed=14 Failed=0 Skipped=2
SDL/TEST: - date - : Run Summary: Total=16 Passed=14 Failed=0 Skipped=2
So it seems ok and better to merge !
Running
testautomation
on Android fails when callingSDL_OpenAudioDevice
at this location. When pressingbreak
on the dialog, the same assertion triggers again whenSDL_OpenAudioDevice
is called again.https://github.com/libsdl-org/SDL/blob/a874f6c9930603a1086869d4da28452caa4b5807/src/audio/aaudio/SDL_aaudio.c#L76-L82