Commit Graph
16 Commits
Author SHA1 Message Date
Yury Popov 4d9b4ad1f9 Fix and re-enable klatt test 2022-11-15 10:03:04 +03:00
Yury Popov ca4b340cc3 Use deterministic espeak-ng in tests 2022-11-15 10:03:03 +03:00
Samuel Thibault 2878e91db0 Fix testsuite under various locales
When the current locale doesn't match the current voice, grep would be
surprised by the produced output and believe that this is not text, for
instance with LC_ALL=ru_RU.CP1251 we get:

  TEST      tests/language-replace.test
[...]
testing mk
grep: (standard input): binary file matches
2d1
< Translate 'пејзаж'

But we can give -a to grep so it always considers its input as text.
2022-04-10 15:40:09 +02:00
Samuel Thibault 02dd413a32 Add valgrind CI run
Now that all errors are fixed.
2022-04-01 00:22:26 +02:00
Samuel Thibault f23265419d tests: Check value returned by espeak-ng
Otherwise we would miss errors produced on shutdown.
2022-03-28 00:55:41 +02:00
Valdis Vitolins 9425be8386 Allow several pipe delimited hash values for Klatt tests 2021-07-30 23:05:33 +03:00
Valdis Vitolins 40b78f5183 Add handling of Ignore message for all test functions 2021-05-23 14:58:17 +03:00
Valdis Vitolins 899b268468 Add OPTIONS argument to test_phon() and use it instead of test_commandlineoptions() 2021-04-06 18:01:19 +03:00
Valdis Vitolins 5f6b5c8093 Make output more similar to the output before refactorization 2021-04-06 17:44:40 +03:00
Valdis Vitolins 4588258cd7 Make test_replace() similar to other functions 2021-04-06 17:01:23 +03:00
Valdis Vitolins df8dd607df Replace test_lang() and test_voice() with test_wav() and test_phwav() which uses test_wav() 2021-04-06 16:52:26 +03:00
Valdis Vitolins 842cd3e25e Replace test_phonemes(), test_phonemes1() and test_dict() with single test_phon() 2021-04-06 16:28:23 +03:00
Valdis Vitolins 43dee60c33 Make test_dict the same as test_phonemes 2021-04-06 16:10:26 +03:00
Valdis Vitolins e14b567d77 Merge MESSAGE and TEST_BROKEN arguments 2021-04-06 15:57:58 +03:00
Valdis Vitolins 6fcb110b83 Move MESSAGE argument as 4th, to make arguments similar to other functions 2021-04-06 00:31:42 +03:00
Valdis Vitolins ec552d2566 Move common functions into common script 2021-04-05 23:24:06 +03:00