diff options
author | Rob Sykes <rob@rob-Ideapad-S205.(none)> | 2013-02-27 22:46:28 +0400 |
---|---|---|
committer | Rob Sykes <rob@rob-Ideapad-S205.(none)> | 2013-02-27 22:46:28 +0400 |
commit | 4db4507b4dc59833d7dc6a7b85345a531a2da47c (patch) | |
tree | aa52179b71854963419337253995293cda69fd1d | |
parent | a832a8fec41999defc619ccdbc2bc164f6a6363c (diff) |
allow this test to be run from either 'tests' or 'examples' directories
-rwxr-xr-x | tests/large-ratio | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/tests/large-ratio b/tests/large-ratio index 38f50ae..a12bda9 100755 --- a/tests/large-ratio +++ b/tests/large-ratio @@ -5,16 +5,17 @@ # Warning: the intermediate signal (piped) is 3.2 Gbytes so may slug the # system somewhat. -ex=./3-options-input-fn +ex=../examples/3-options-input-fn q=6 +r=1e5 rm lr.png -./vector-gen 1000 0 8 500 .9375 1.s32 +../tests/vector-gen 1000 0 8 500 .9375 1.s32 -$ex 1 1e5 1 2 1 $q < 1.s32 | $ex 1e5 1 1 1 2 $q > 2.s32 +$ex 1 $r 1 2 1 $q < 1.s32 | $ex $r 1 1 1 2 $q > 2.s32 -/usr/bin/sox -M -r 1k 1.s32 -r 1k 2.s32 -n spectrogram -hwk -z180 -o lr.png +sox -M -r 1k 1.s32 -r 1k 2.s32 -n spectrogram -hwk -z180 -o lr.png display lr.png & |