Merge pull request #62 from singalsu/fix_src_test_cmdline_arg_proposal

SRC test: Fix testbench execute command line plus cleanup
This commit is contained in:
Liam Girdwood 2018-08-30 15:55:54 +01:00 committed by GitHub
commit d40087fdd4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 3 deletions

View File

@ -29,7 +29,7 @@ fi
# Run command
CMD0=$HOST_EXE
CMD1="-d -x $FS1 -y $FS2 -i $FN_IN -o $FN_OUT -t $TPLG -a src=libsof_${COMP}.so $CMDFMT"
CMD1="-d -r $FS1 -R $FS2 -i $FN_IN -o $FN_OUT -t $TPLG -a src=libsof_${COMP}.so $CMDFMT"
CMD="$CMD0 $CMD1"
export LD_LIBRARY_PATH=$HOST_LIB

View File

@ -3,7 +3,7 @@ function [n_fail, n_pass, n_na] = src_test(bits_in, bits_out, fs_in_list, fs_out
%%
% src_test - test with SRC test bench objective audio quality parameters
%
% src_test(fs_in, fs_out)
% src_test(bits_in, bits_out, fs_in, fs_out)
%
% bits_in - input word length
% bits_out - output word length
@ -456,7 +456,9 @@ else
title(tstr);
end
pfn = sprintf('plots/%s_src_%d_%d.png', testacronym, t.fs1, t.fs2);
print(pfn, '-dpng');
% The print command caused a strange error with __osmesa_print__
% so disable it for now until solved.
%print(pfn, '-dpng');
if t.close_plot_windows
close all;
end