Skip to content

Commit

Permalink
try again
Browse files Browse the repository at this point in the history
  • Loading branch information
micsthepick committed Feb 27, 2024
1 parent 691b7d6 commit 802f992
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 4 deletions.
14 changes: 13 additions & 1 deletion test_eel.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,19 @@ sed -r -e 's/^(desc|slider[0-9]+):.*|^@(init|slider|block|serialize|sample)//' \
-e 's/\/\/IFTEST|\/\*IFTEST\{\*|\*\}IFTEST\*\///' \
-e 's/\*IFNTEST\*|IFNTEST\{\*|\*\}IFNTEST//' \
vocalrediso-jamesdsp.eel >> vocalrediso.test.eel2
./WDL/WDL/eel2/loose_eel ./vocalrediso.test.eel2

# Run the command, capturing stderr
{ output=$(./WDL/WDL/eel2/loose_eel ./vocalrediso.test.eel2 2>&1 1>&3-); } 3>&1

# Check if there is any output in stderr
if [ ! -z "$output" ]; then
# Print the stderr output in red
echo -e "\e[31m$output\e[0m"
# Exit with -1
exit -1
else
exit 0
fi

##//DEBUGPRINT("HI");
##//IFTEST code_here();
Expand Down
6 changes: 3 additions & 3 deletions vocalrediso-jamesdsp.eel
Original file line number Diff line number Diff line change
Expand Up @@ -394,10 +394,10 @@ assert_near_equal(200, 0.001, spl1sum, "SAMPLE_1_1_TEST: spl1sum was not as expe
//DEBUGPRINT("spl0sum=%g, spl1sum=%g\n", spl0sum, spl1sum);


//DEBUGPRINT("SETUP: fft range is [0, srate/2] dry=100 wet=100\n");
//DEBUGPRINT("SETUP: fft range is [srate/2, srate] dry=100 wet=100\n");
slider1 = slider2 = 100;
slider5 = 0;
slider6 = srate/2;
slider5 = srate/2;
slider6 = srate;
//DEBUGPRINT("PDC_SILENCE_ON_PARTIAL_RANGE_TEST\n");
slider_code();
sum_first_pdc_samples(1, 1);
Expand Down

0 comments on commit 802f992

Please sign in to comment.