summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Add configure test for speechd when pkg-config file is not availablev5.9.2Liang Qi2017-09-082-3/+4
| | | | | | | | | | | | | | | | Sadly older speech-dispatcher versions (on RHEL where we package) seem to not yet ship the correct pkg-config stuff, so try to manually detect the presence of speechd, so that we finally have linux packages. And for speech-dispatcher-devel packages (on RHEL where we package), different versions have different include path. 0.8.7 has /usr/include/speech-dispatcher and 0.7.1 has /usr/include. Task-number: QTBUG-58461 Done-with: Frederik Gladhorn<frederik.gladhorn@qt.io> Change-Id: Ib3946cc7b84411f509dc74f6022831cb16d88b2e Reviewed-by: Lars Knoll <lars.knoll@qt.io> Reviewed-by: Frederik Gladhorn <frederik.gladhorn@qt.io>
* Blacklist all testsFrederik Gladhorn2016-08-121-0/+8
| | | | | | | | | | | | | At the moment all tests are disabled inside the CI. While I am convinced that the tests work on normal machines, currently they simply do not work as part of the CI because of outdated dependencies or because the VMs do not have sound cards. As a first step, make the module sane and let the tests be built by adding this patch and taking out the hack from the CI. Task-number: QTBUG-55274 Change-Id: Idaa799133d1099d773c4331d9b6d311dc812ee66 Reviewed-by: Maurice Kalinowski <maurice.kalinowski@qt.io>
* Compile on linux without speechdFrederik Gladhorn2016-04-082-5/+13
| | | | | | | | Also make sure that the speechd ifdefs only remove the code in case we're actually using speechd, not for every engine. Change-Id: I752312af64f7e453dfeaed4f0b277947482aca1d Reviewed-by: Frederik Gladhorn <frederik.gladhorn@theqtcompany.com>
* Revert "Fix compilation on Debian"Frederik Gladhorn2016-04-071-1/+1
| | | | | | | | | | | | | | | Debian seems to have a packaging bug, or libspeechd is just buggy, whichever it is, the deb packages install the libspeechd.h header twice. That header has a "#include <libspeechd_version.h>" in some versions, but the version file is only to be found in the speech-dispatcher subdirectory. See for example https://packages.debian.org/sid/amd64/libspeechd-dev/filelist which seems to be the same in all versions I could find. This reverts commit 45a127b37ef743a4a6dade41e26bf582e96c7938. Change-Id: If51ec7b47020d50cb95582487d62375e7734ddc3 Reviewed-by: Frederik Gladhorn <frederik.gladhorn@theqtcompany.com>
* Fix compilation on DebianMarc Mutz2016-03-041-1/+1
| | | | | | | | | On Debian, libspeechd.h is installed directly in /usr/include. Change-Id: I072e0afb0c4c2ea7ccee377fc1ff8fc7301d957e Reviewed-by: Jeremy Whiting <jpwhiting@kde.org> Reviewed-by: Frederik Gladhorn <frederik.gladhorn@theqtcompany.com>
* Voices test: verify that there is at least one voiceFrederik Gladhorn2015-09-261-0/+1
| | | | | | | | That's slightly nicer than asserting when 0 voices are returned. Change-Id: Ie5d2bdee604983e69ea2cc8c6fcd58aedaf90889 Reviewed-by: Jeremy Whiting <jpwhiting@kde.org> Reviewed-by: Frederik Gladhorn <frederik.gladhorn@theqtcompany.com>
* Fix tests with old speech dispatcherFrederik Gladhorn2015-09-011-0/+11
| | | | | Change-Id: Iad7966a894504fe3e7d4121b6bf9b116cfea7f36 Reviewed-by: Frederik Gladhorn <frederik.gladhorn@theqtcompany.com>
* Update license headersFrederik Gladhorn2015-05-121-16/+20
| | | | | Change-Id: I64edb68f78cd27e5f5071124252a53fcb3007d79 Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com>
* Added test for set_voice()Peter Bouda2015-05-071-0/+26
| | | | | | | | | Added a test for the set_voice() function. The test first chooses a voice from the list of availableVoices(). If there is more than one voice available it will choose the second voice in the list. Change-Id: Ibc458beda0a939f4512e41927e0ff8210b98e0f8 Reviewed-by: Frederik Gladhorn <frederik.gladhorn@theqtcompany.com>
* Re-enable rate test checking value.Jeremy Whiting2015-05-071-2/+2
| | | | | | | | | Also fix for loop for pitch test. Change-Id: I2d07be4f219fc287163a21f7c370b70de780d97e Reviewed-by: Laurent Montel <laurent.montel@kdab.com> Reviewed-by: Peter Bouda <pbouda@cidles.eu> Reviewed-by: Frederik Gladhorn <frederik.gladhorn@theqtcompany.com>
* Fix CMake testFrederik Gladhorn2015-02-162-2/+2
| | | | | Change-Id: Ia2b8a4f26d25499a48ef4b71867e547c2e07808f Reviewed-by: Frederik Gladhorn <frederik.gladhorn@theqtcompany.com>
* Implement pitch on OS XFrederik Gladhorn2015-02-141-0/+10
| | | | | | Change-Id: I8605ed8b7fffb379781a4e2ad445f16a29cc8fc0 Reviewed-by: Jeremy Whiting <jpwhiting@kde.org> Reviewed-by: Frederik Gladhorn <frederik.gladhorn@theqtcompany.com>
* Fix test on linux - state changes are not instantFrederik Gladhorn2014-10-281-2/+2
| | | | | Change-Id: I0e6808179afa09918882d8af8ca8c98236a1daa1 Reviewed-by: Frederik Gladhorn <frederik.gladhorn@theqtcompany.com>
* Add basic testsFrederik Gladhorn2014-10-283-1/+97
| | | | | Change-Id: I2c671f04fe19f74f7b781a12bd23ad10a15fc2bb Reviewed-by: Jan Arve Sæther <jan-arve.saether@theqtcompany.com>
* Add cmake testFrederik Gladhorn2014-09-163-1/+16
| | | | | | Change-Id: I547f5baf12be903dab5f8df01915c23bc987ab9a Reviewed-by: Laurent Montel <laurent.montel@kdab.com> Reviewed-by: David Faure <david.faure@kdab.com>
* Welcome Qt SpeechFrederik Gladhorn2014-01-202-0/+6