From 4db4507b4dc59833d7dc6a7b85345a531a2da47c Mon Sep 17 00:00:00 2001 From: Rob Sykes Date: Wed, 27 Feb 2013 18:46:28 +0000 Subject: allow this test to be run from either 'tests' or 'examples' directories --- tests/large-ratio | 9 +++++---- 1 file 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 & -- cgit v1.2.3