]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
Sorted out fixed point builds of the V.22bis modem
authorSteve Underwood <steveu@coppice.org>
Sun, 5 Aug 2012 10:38:47 +0000 (18:38 +0800)
committerSteve Underwood <steveu@coppice.org>
Sun, 5 Aug 2012 10:38:47 +0000 (18:38 +0800)
libs/spandsp/tests/v17_tests.sh [new file with mode: 0755]
libs/spandsp/tests/v27ter_tests.sh [new file with mode: 0755]
libs/spandsp/tests/v29_tests.sh [new file with mode: 0755]

diff --git a/libs/spandsp/tests/v17_tests.sh b/libs/spandsp/tests/v17_tests.sh
new file mode 100755 (executable)
index 0000000..5657afd
--- /dev/null
@@ -0,0 +1,16 @@
+#!/bin/sh
+
+STDOUT_DEST=xyzzy
+STDERR_DEST=xyzzy2
+
+for OPTS in "-b 14400 -s -42 -n -66" "-b 12000 -s -42 -n -61" "-b 9600 -s -42 -n -59" "-b 7200 -s -42 -n -56"
+do
+    ./v17_tests ${OPTS} >$STDOUT_DEST 2>$STDERR_DEST
+    RETVAL=$?
+    if [ $RETVAL != 0 ]
+    then
+        echo v17_tests ${OPTS} failed!
+        exit $RETVAL
+    fi
+done
+echo v17_tests completed OK
diff --git a/libs/spandsp/tests/v27ter_tests.sh b/libs/spandsp/tests/v27ter_tests.sh
new file mode 100755 (executable)
index 0000000..9e5d99d
--- /dev/null
@@ -0,0 +1,16 @@
+#!/bin/sh
+
+STDOUT_DEST=xyzzy
+STDERR_DEST=xyzzy2
+
+for OPTS in "-g -b 4800 -s -42 -n -57" "-g -b 2400 -s -42 -n -51"
+do
+    ./v27ter_tests ${OPTS} >$STDOUT_DEST 2>$STDERR_DEST
+    RETVAL=$?
+    if [ $RETVAL != 0 ]
+    then
+        echo v27ter_tests ${OPTS} failed!
+        exit $RETVAL
+    fi
+done
+echo v27ter_tests completed OK
diff --git a/libs/spandsp/tests/v29_tests.sh b/libs/spandsp/tests/v29_tests.sh
new file mode 100755 (executable)
index 0000000..5c98d00
--- /dev/null
@@ -0,0 +1,16 @@
+#!/bin/sh
+
+STDOUT_DEST=xyzzy
+STDERR_DEST=xyzzy2
+
+for OPTS in "-g -b 9600 -s -42 -n -62" "-g -b 7200 -s -42 -n -59" "-g -b 4800 -s -42 -n -54"
+do
+    ./v29_tests ${OPTS} >$STDOUT_DEST 2>$STDERR_DEST
+    RETVAL=$?
+    if [ $RETVAL != 0 ]
+    then
+        echo v29_tests ${OPTS} failed!
+        exit $RETVAL
+    fi
+done
+echo v29_tests completed OK