File: test-cepview.sh

package info (click to toggle)
pocketsphinx 5.0.4-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 51,236 kB
  • sloc: ansic: 54,519; python: 2,438; sh: 566; cpp: 410; perl: 342; yacc: 93; lex: 50; makefile: 30
file content (16 lines) | stat: -rwxr-xr-x 376 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/bash

: ${CMAKE_BINARY_DIR:=$(pwd)}
.${CMAKE_BINARY_DIR}/test/testfuncs.sh

echo "CEPVIEW TEST"
tmpout="test-cepview.out"

run_program sphinx_cepview/sphinx_cepview \
-i 13 \
-d 13 \
-f $tests/regression/chan3.mfc \
> $tmpout 2>test-cepview.err
if diff -w $tmpout $tests/regression/chan3.cepview > /dev/null 2>&1; then
pass "CEPVIEW test"; else
fail "CEPVIEW test"; fi