Skip to content

Commit

Permalink
testkiss.py: Do not depend on tools/fft_*
Browse files Browse the repository at this point in the history
Fixes test run with -DKISSFFT_TOOLS=OFF

Signed-off-by: Vasyl Gello <[email protected]>
  • Loading branch information
basilgello committed Feb 5, 2021
1 parent 7eeda21 commit 7c9a558
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions test/testkiss.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,14 @@
po = math.pi
e = math.e
do_real = False
datatype = os.environ.get('DATATYPE', 'float')
datatype = os.environ.get('KISSFFT_DATATYPE', 'float')
openmp = os.environ.get('KISSFFT_OPENMP', 'float')

util = './fastfilt-' + datatype

if openmp == '1' or openmp == 'ON':
util = util + '-openmp'

util = '../tools/fft_' + datatype
minsnr = 90
if datatype == 'double':
dtype = np.float64
Expand Down

0 comments on commit 7c9a558

Please sign in to comment.