From f6a35fa8d961c827711c3dfb4e5e7b71f841aaca Mon Sep 17 00:00:00 2001 From: rany Date: Tue, 21 May 2024 17:05:09 +0300 Subject: [PATCH] Don't delete test outputs and only run cmp on srt Signed-off-by: rany --- .gitignore | 4 ++++ tests/001-long-text.sh | 4 ---- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index 68bc17f..19e9b0a 100644 --- a/.gitignore +++ b/.gitignore @@ -158,3 +158,7 @@ cython_debug/ # and can be added to the global gitignore or merged into this file. For a more nuclear # option (not recommended) you can uncomment the following to ignore the entire idea folder. #.idea/ + +# Edge-TTS specific ignores +*.mp3 +*.srt diff --git a/tests/001-long-text.sh b/tests/001-long-text.sh index 0c8f639..1593a6e 100755 --- a/tests/001-long-text.sh +++ b/tests/001-long-text.sh @@ -20,12 +20,8 @@ ret=0 # compare files to make sure all are the same for i in {b..z} do - cmp tests/001-long-text_a.mp3 "tests/001-long-text_${i}.mp3" || ret=1 cmp tests/001-long-text_a.srt "tests/001-long-text_${i}.srt" || ret=1 done -# clean up -rm tests/001-long-text_*.mp3 tests/001-long-text_*.srt - # exit with return code exit "${ret}"