Commit c3eeb704 authored by Adam Mills's avatar Adam Mills
Browse files

Fixing the eval inputs so that the \n are removed

parent 2ab8536b
Loading
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -86,6 +86,9 @@ echo "\n======================= 0. preparing combined format test inputs =======
# treat ISM modes separately because passing the metadata files to MASA modes causes crashes
ism_modes=$(./scripts/runIvasCodec.py -l | grep ^ISM)
non_ism_modes=$(./scripts/runIvasCodec.py -l | grep -v ^ISM)
# trim the \n characters so it works with eval
ism_modes=$(echo "$ism_modes" | tr '\n' ' ')
non_ism_modes=$(echo "$non_ism_modes" | tr '\n' ' ')
echo "\n======================= 1. non-ism modes no FEC =======================\n\n"
eval "./scripts/runIvasCodec.py $verbosity_cmd -m $non_ism_modes -p $cfg $duration_arg $WORKERS | tee smoke_test_output.txt" "$PARALLEL"
echo "\n======================= 2. ism modes no FEC =======================\n\n"
@@ -98,6 +101,9 @@ eval "./scripts/runIvasCodec.py $verbosity_cmd -p $cfg $duration_arg $WORKERS -D
# OMASA disabled for now
modes_with_no_ext_out=$(./scripts/runIvasCodec.py -l | grep -v ^MASA | grep -v ^ISM | grep -v OMASA)
modes_with_ext_out=$(./scripts/runIvasCodec.py -l | grep 'MASA\|ISM' | grep -v ^ISM+ | grep -v OMASA)
# trim the \n characters so it works with eval
modes_with_no_ext_out=$(echo "$modes_with_no_ext_out" | tr '\n' ' ')
modes_with_ext_out=$(echo "$modes_with_ext_out" | tr '\n' ' ')
echo "\n======================= 4. JBM, modes with no EXT =======================\n\n"
eval "./scripts/runIvasCodec.py $verbosity_cmd -m $modes_with_no_ext_out -p $cfg $duration_arg $WORKERS --decoder_only --jbm_file $dly_profile | tee smoke_test_output_jbm_noEXT.txt" "$PARALLEL"
echo "\n======================= 5. JBM, modes with EXT =======================\n\n"
@@ -106,6 +112,8 @@ eval "./scripts/runIvasCodec.py $verbosity_cmd -m $modes_with_ext_out -p $cfg $
# run all modes with binaural output using external files
modes_with_bin_out="FOA HOA2 HOA3 PlanarFOA PlanarHOA2 PlanarHOA3 MASA MC ISM1 ISM2 ISM3 ISM4"
bin_out_modes="BINAURAL BINAURAL_ROOM_IR"
modes_with_bin_out=$(echo "$modes_with_bin_out" | tr '\n' ' ')
bin_out_modes=$(echo "$bin_out_modes" | tr '\n' ' ')

echo "\n======================= 6. binaural out with HRTF files - WB =======================\n\n"
wb_modes=$(./scripts/runIvasCodec.py -l -C $modes_with_bin_out | grep _wb_)