Skip to content
This repository was archived by the owner on Jan 17, 2019. It is now read-only.

Commit d40087f

Browse files
authored
Merge pull request #62 from singalsu/fix_src_test_cmdline_arg_proposal
SRC test: Fix testbench execute command line plus cleanup
2 parents eddca59 + a47524a commit d40087f

2 files changed

Lines changed: 5 additions & 3 deletions

File tree

test/src_run.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ fi
2929

3030
# Run command
3131
CMD0=$HOST_EXE
32-
CMD1="-d -x $FS1 -y $FS2 -i $FN_IN -o $FN_OUT -t $TPLG -a src=libsof_${COMP}.so $CMDFMT"
32+
CMD1="-d -r $FS1 -R $FS2 -i $FN_IN -o $FN_OUT -t $TPLG -a src=libsof_${COMP}.so $CMDFMT"
3333
CMD="$CMD0 $CMD1"
3434
export LD_LIBRARY_PATH=$HOST_LIB
3535

test/src_test.m

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
%%
44
% src_test - test with SRC test bench objective audio quality parameters
55
%
6-
% src_test(fs_in, fs_out)
6+
% src_test(bits_in, bits_out, fs_in, fs_out)
77
%
88
% bits_in - input word length
99
% bits_out - output word length
@@ -456,7 +456,9 @@ function src_test_result_print(t, testverbose, testacronym, ph)
456456
title(tstr);
457457
end
458458
pfn = sprintf('plots/%s_src_%d_%d.png', testacronym, t.fs1, t.fs2);
459-
print(pfn, '-dpng');
459+
% The print command caused a strange error with __osmesa_print__
460+
% so disable it for now until solved.
461+
%print(pfn, '-dpng');
460462
if t.close_plot_windows
461463
close all;
462464
end

0 commit comments

Comments
 (0)