Commit Graph
119 Commits
Author SHA1 Message Date
Reece H. Dunn 80dec4ce7c tests: test cs consonant and vowel audio generation 2018-03-03 08:27:43 +00:00
Reece H. Dunn a9c6d6a5e9 ssml.test: pass -q to the espeak-ng command to prevent it speaking. 2018-03-03 07:40:29 +00:00
Reece H. Dunn c50010e046 Merge remote-tracking branch 'brawer/ssml-test' 2018-03-03 07:37:32 +00:00
Sascha Brawer 7e669f1812 Add tests on SSML parsing
A corpus of SSML input files will also be needed for fuzzing.
https://github.com/espeak-ng/espeak-ng/issues/407
2018-03-02 11:32:36 +01:00
Reece H. Dunn 46123680be tests: test cmn consonant and vowel audio generation 2018-03-02 07:49:18 +00:00
Reece H. Dunn 5df6b03623 tests: test ca consonant and vowel audio generation 2018-03-02 07:37:58 +00:00
Reece H. Dunn 12a5456ff9 tests: test bs consonant and vowel audio generation 2018-03-02 07:25:16 +00:00
Reece H. Dunn 5d2da4b91a tests: test bpy consonant and vowel audio generation 2018-03-02 07:24:35 +00:00
Reece H. Dunn 8c41f6bd0c tests: test bn consonant and vowel audio generation 2018-03-01 07:58:03 +00:00
Reece H. Dunn 0255eda4b2 tests: test bg consonant and vowel audio generation 2018-03-01 07:37:39 +00:00
Reece H. Dunn da41595457 tests: test az consonant and vowel audio generation 2018-03-01 07:21:39 +00:00
Reece H. Dunn b9a0e090f6 tests: test as consonant and vowel audio generation 2018-03-01 07:02:42 +00:00
Reece H. Dunn 6b5187fb47 tests: test ar consonant and vowel audio generation 2018-02-28 07:56:57 +00:00
Reece H. Dunn 3029b12358 tests: test an consonant and vowel audio generation 2018-02-28 07:39:38 +00:00
Reece H. Dunn bf42a488ea tests: test am consonant and vowel audio generation 2018-02-28 07:26:35 +00:00
Reece H. Dunn 1c7c6debcc tests: test af consonant and vowel audio generation 2018-02-28 07:10:32 +00:00
Reece H. Dunn 062df03e9e de: revert the phoneme and dictionary changes 2018-02-03 09:14:05 +00:00
Valdis Vitolins 3dea33965e lv: different improvements 2018-01-11 20:53:58 +02:00
Reece H. Dunn 9812e009d7 de: fix running 'make check' with the voice changes 2018-01-09 07:39:00 +00:00
Valdis Vitolins b762eac37f Fix test because of changes in transliteration 2017-11-20 22:26:35 +02:00
Valdis Vitolins a2743a0264 Test updated due to phonetic changes in Latvian pronunciation 2017-11-12 22:38:03 +02:00
Reece H. Dunn 7a33e60234 Reapply the emoji fix from commit 119c200e, only changing the code causing the issue. 2017-11-04 08:31:13 +00:00
Reece H. Dunn 6043d35c72 Add phoneme output tests. 2017-11-04 08:26:48 +00:00
Reece H. Dunn 50a2d8e291 Revert "Use strcpy instead of memcpy+strlen."
This reverts commit 119c200e00.
2017-11-04 08:14:59 +00:00
Reece H. Dunn f4248fd728 tests: Fix -Wmissing-prototypes warnings. 2017-10-11 21:20:39 +01:00
Reece H. Dunn 74f9f5e34b wavegen.c: Fix -Wmissing-prototypes warnings. 2017-10-10 21:37:46 +01:00
Reece H. Dunn d89fa59bed Enable and fix -Wunused-variable warnings. 2017-10-05 07:23:17 +01:00
Reece H. Dunn 6d9bb7ef17 Enable and fix -Wunused-parameter warnings. 2017-10-05 07:20:44 +01:00
Reece H. Dunn 119c200e00 Use strcpy instead of memcpy+strlen.
This replaces uses of:

	memcpy(dst, src, strlen(src))

with:

	strcpy(dst, src)

This fixes issues with reading past the end of the copied buffer
(e.g. when processing word-based replacements for emoji characters)
by ensuring that the destination buffer is null terminated.

Reported by Michael Curran <mick@nvaccess.org>
2017-10-01 08:50:56 +01:00
Reece H. Dunn d19da58fa0 Fix running languages.test on sh/bash. 2017-09-01 07:19:41 +01:00
Anthony Cornehl 3115f769b1 tests/language.test: Use different hashing commands when needed
Outside of Linux platforms, sha1 hashing from the command-line is accomplished
by commands other than sha1sum. OSX uses shasum and FreeBSD uses sha1, so I've
added in detection for the appropriate command before falling back and failing
the test.
2017-08-31 17:46:04 -07:00
Reece H. Dunn 8585b0b47d Fix the return status code from Synthesize when the voices cannot be found. 2017-08-19 12:27:39 +01:00
Reece H. Dunn 882c2651e1 Fix setting the default voice from espeak_SetVoiceByProperties. 2017-08-19 12:08:39 +01:00
Reece H. Dunn 16bea7fd0f Don't crash in LoadVoice if langopts is NULL. 2017-08-19 11:44:13 +01:00
Reece H. Dunn 4d4a8419f8 Test espeak_SetVoiceByName with an invalid voice name. 2017-08-19 10:19:00 +01:00
Reece H. Dunn aee367c334 Add espeak_SetVoiceByProperties tests with the languages property. 2017-08-19 10:11:32 +01:00
Reece H. Dunn c0308e3140 tests/api: test that the translator's dictionary is correct. 2017-08-19 09:05:27 +01:00
Reece H. Dunn 7fc1e30316 Add tests for espeak_SetVoiceByName. 2017-08-19 08:59:50 +01:00
Reece H. Dunn cec0e773a4 Remove the tokenizer code. This is not currently used, and should be designed from espeak's behaviour. 2017-08-16 19:04:26 +01:00
Reece H. Dunn ddee4d6386 languages.test: fix running the Japanese test 2017-06-04 17:08:19 +01:00
Reece H. Dunn ea0dcc9473 Testing UTS 51 (5.0-12) ED-14c. emoji keycap sequence 2017-05-23 07:56:14 +01:00
Reece H. Dunn 37819f0781 Testing UTS 51 (5.0-12) ED-14b. emoji combining sequence 2017-05-23 07:49:37 +01:00
Reece H. Dunn 6f39beb154 Testing UTS 51 (5.0-12) ED-14. emoji tag sequence (tag_base = emoji character) 2017-05-23 07:28:11 +01:00
Reece H. Dunn 421518e8cc Testing UTS 51 (5.0-12) ED-14. emoji flag sequence 2017-05-22 07:46:36 +01:00
Reece H. Dunn 40eed16247 Testing UTS 51 (5.0-12) ED-13. emoji modifier sequence 2017-05-22 07:32:26 +01:00
Reece H. Dunn 281cb5513e Testing UTS 51 (5.0-12) ED-9a. emoji presentation sequence 2017-05-22 07:12:58 +01:00
Reece H. Dunn e02ab7d0c2 Testing UTS 51 (5.0-12) ED-8a. text presentation sequence 2017-05-22 07:05:23 +01:00
Reece H. Dunn f94f7effcd Test ReadClause with a Latin-character sentence. 2017-05-21 13:49:47 +01:00
Reece H. Dunn fbd2e679fc Don't crash if loading the default voice fails. 2017-05-21 12:44:10 +01:00
Reece H. Dunn dced9f58fd Clean up the decoder memory in espeak_Terminate. 2017-05-21 12:07:15 +01:00