mirror of
https://github.com/xiph/opus.git
synced 2025-06-07 07:50:51 +00:00
Make it possible to pass in paths to opus_demo and opus_compare.
This patch lets you pass paths for opus_demo and opus_compare to the run_vectors.sh script. The motivation for this was for my aarch64 patches (forthcoming), which I've been testing under qemu. I want to run an emulated opus_demo, but a native opus_compare, so the script completes in a reasonable amount of time.
This commit is contained in:
parent
0bc1ecc254
commit
3a1dc9dc15
1 changed files with 2 additions and 2 deletions
|
@ -45,8 +45,8 @@ CMD_PATH=$1
|
||||||
VECTOR_PATH=$2
|
VECTOR_PATH=$2
|
||||||
RATE=$3
|
RATE=$3
|
||||||
|
|
||||||
OPUS_DEMO=$CMD_PATH/opus_demo
|
: ${OPUS_DEMO:=$CMD_PATH/opus_demo}
|
||||||
OPUS_COMPARE=$CMD_PATH/opus_compare
|
: ${OPUS_COMPARE:=$CMD_PATH/opus_compare}
|
||||||
|
|
||||||
if [ -d $VECTOR_PATH ]; then
|
if [ -d $VECTOR_PATH ]; then
|
||||||
echo Test vectors found in $VECTOR_PATH
|
echo Test vectors found in $VECTOR_PATH
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue