Skip to content
This repository was archived by the owner on Jun 27, 2023. It is now read-only.

Commit 9a90a8a

Browse files
committed
Rewritten tests
1 parent 39b4667 commit 9a90a8a

30 files changed

+405
-361
lines changed

.gitignore

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,13 @@
11
.idea
2-
venv
2+
venv2
3+
venv3
34
build
45
dist
56
MANIFEST
67
*.pyd
78
*.egg-info
89
*.so
910
__pycache__
11+
*.htk
12+
*.lat
13+
*.fsg

.travis.yml

Lines changed: 7 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,15 @@
11
language: python
22
python:
3-
- "2.6"
4-
- "2.7"
5-
- "3.2"
6-
- "3.3"
7-
- "3.4"
8-
- "3.5"
9-
- "3.5-dev"
10-
- "nightly"
3+
- '2.7'
4+
- '3.2'
5+
- '3.3'
6+
- '3.4'
7+
- '3.5'
118
before_install:
129
- sudo apt-get update -qq
1310
- sudo apt-get install -qq build-essential swig
1411
install:
1512
- python setup.py bdist_wheel build
16-
- python setup.py bdist_wheel build
17-
- pip install ./dist/pocketsphinx-*.whl
13+
- pip install dist/pocketsphinx-*.whl
1814
script:
19-
- cd pocketsphinx/swig/python/test
20-
- python ./config_test.py
21-
- python ./decoder_test.py
22-
- python ./fsg_test.py
23-
- python ./jsgf_test.py
24-
- python ./kws_test.py
25-
- python ./lattice_test.py
26-
- python ./lm_test.py
15+
- python setup.py test

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,6 @@
174174
'Operating System :: Microsoft :: Windows',
175175
'Operating System :: POSIX :: Linux',
176176
'Programming Language :: Python :: 2',
177-
'Programming Language :: Python :: 2.6',
178177
'Programming Language :: Python :: 2.7',
179178
'Programming Language :: Python :: 3',
180179
'Programming Language :: Python :: 3.2',
@@ -189,5 +188,6 @@
189188
package_dir={
190189
'sphinxbase': 'sphinxbase/swig/python',
191190
'pocketsphinx': 'pocketsphinx/swig/python'
192-
}
191+
},
192+
test_suite='tests'
193193
)

test/Makefile.am

Lines changed: 0 additions & 9 deletions
This file was deleted.

test/config_test.py

Lines changed: 0 additions & 46 deletions
This file was deleted.

test/continuous_test.py

Lines changed: 0 additions & 35 deletions
This file was deleted.

test/decoder_test.py

Lines changed: 0 additions & 52 deletions
This file was deleted.

test/fsg_test.py

Lines changed: 0 additions & 15 deletions
This file was deleted.

test/jsgf_test.py

Lines changed: 0 additions & 49 deletions
This file was deleted.

test/kws_test.py

Lines changed: 0 additions & 42 deletions
This file was deleted.

0 commit comments

Comments
 (0)