Mercurial > games > semicongine
diff tests/test_audio.nim @ 673:9cfd59c93ae8
fix: tests
author | Sam <sam@basx.dev> |
---|---|
date | Tue, 09 May 2023 20:39:49 +0700 |
parents | 977392dc055f |
children | 972caf83930d |
line wrap: on
line diff
--- a/tests/test_audio.nim Tue May 09 19:52:33 2023 +0700 +++ b/tests/test_audio.nim Tue May 09 20:39:49 2023 +0700 @@ -62,7 +62,7 @@ proc test3() = var song: SoundData - var f = open("tests/audiotest.PCM.s16le.48000.2") + var f = open("./tests/audiotest.PCM.s16le.48000.2") var readLen = 999 while readLen > 0: var sample: Sample @@ -85,6 +85,5 @@ mixer[].stop() test2() mixer[].stop() - while true: - test3() - mixer[].stop() + # test3() # only run this manually, not in automated tests + # mixer[].stop()