DPF

DISTRHO Plugin Framework
Log | Files | Refs | Submodules | README | LICENSE

commit b9270eea59af430a25bc09e8e7d965d95e073940
parent 0a16af9e6ca2e0839bc36ea0ed46365b7792f840
Author: falkTX <falktx@falktx.com>
Date:   Sat, 18 Sep 2021 16:20:00 +0100

Enable runtime plugin tests again

Signed-off-by: falkTX <falktx@falktx.com>

Diffstat:
M.github/workflows/example-plugins.yml | 88++++++++++++++++++++++++++++++++++++++++----------------------------------------
Mutils/valgrind-dpf.supp | 15++++++++-------
2 files changed, 52 insertions(+), 51 deletions(-)

diff --git a/.github/workflows/example-plugins.yml b/.github/workflows/example-plugins.yml @@ -276,47 +276,47 @@ jobs: /usr/lib/lv2/{atom,buf-size,core,data-access,kx-control-input-port-change-request,kx-programs,instance-access,midi,parameters,port-groups,port-props,options,patch,presets,resize-port,state,time,ui,units,urid,worker}.lv2 \ ${LV2_PATH} lv2lint -s lv2_generate_ttl -M nopack $(lv2ls) - #- name: Test LADSPA plugins - #run: | - #for p in $(ls bin/ | grep ladspa.so); do \ - #env CARLA_BRIDGE_DUMMY=1 CARLA_BRIDGE_TESTING=native \ - #valgrind \ - #--error-exitcode=255 \ - #--leak-check=full \ - #--track-origins=yes \ - #--suppressions=./utils/valgrind-dpf.supp \ - #/usr/lib/carla/carla-bridge-native ladspa ./bin/${p} "" 1>/dev/null; \ - #done - #- name: Test DSSI plugins - #run: | - #for p in $(ls bin/ | grep dssi.so); do \ - #env CARLA_BRIDGE_DUMMY=1 CARLA_BRIDGE_TESTING=native \ - #valgrind \ - #--error-exitcode=255 \ - #--leak-check=full \ - #--track-origins=yes \ - #--suppressions=./utils/valgrind-dpf.supp \ - #/usr/lib/carla/carla-bridge-native dssi ./bin/${p} "" 1>/dev/null; \ - #done - #- name: Test LV2 plugins - #run: | - #for p in $(lv2ls); do \ - #env CARLA_BRIDGE_DUMMY=1 CARLA_BRIDGE_TESTING=native \ - #valgrind \ - #--error-exitcode=255 \ - #--leak-check=full \ - #--track-origins=yes \ - #--suppressions=./utils/valgrind-dpf.supp \ - #/usr/lib/carla/carla-bridge-native lv2 "" ${p} 1>/dev/null; \ - #done - #- name: Test VST2 plugins - #run: | - #for p in $(ls bin/ | grep vst.so); do \ - #env CARLA_BRIDGE_DUMMY=1 CARLA_BRIDGE_TESTING=native \ - #valgrind \ - #--error-exitcode=255 \ - #--leak-check=full \ - #--track-origins=yes \ - #--suppressions=./utils/valgrind-dpf.supp \ - #/usr/lib/carla/carla-bridge-native vst2 ./bin/${p} "" 1>/dev/null; \ - #done + - name: Test LADSPA plugins + run: | + for p in $(ls bin/ | grep ladspa.so); do \ + env CARLA_BRIDGE_DUMMY=1 CARLA_BRIDGE_TESTING=native \ + valgrind \ + --error-exitcode=255 \ + --leak-check=full \ + --track-origins=yes \ + --suppressions=./utils/valgrind-dpf.supp \ + /usr/lib/carla/carla-bridge-native ladspa ./bin/${p} "" 1>/dev/null; \ + done + - name: Test DSSI plugins + run: | + for p in $(ls bin/ | grep dssi.so); do \ + env CARLA_BRIDGE_DUMMY=1 CARLA_BRIDGE_TESTING=native \ + valgrind \ + --error-exitcode=255 \ + --leak-check=full \ + --track-origins=yes \ + --suppressions=./utils/valgrind-dpf.supp \ + /usr/lib/carla/carla-bridge-native dssi ./bin/${p} "" 1>/dev/null; \ + done + - name: Test LV2 plugins + run: | + for p in $(lv2ls); do \ + env CARLA_BRIDGE_DUMMY=1 CARLA_BRIDGE_TESTING=native \ + valgrind \ + --error-exitcode=255 \ + --leak-check=full \ + --track-origins=yes \ + --suppressions=./utils/valgrind-dpf.supp \ + /usr/lib/carla/carla-bridge-native lv2 "" ${p} 1>/dev/null; \ + done + - name: Test VST2 plugins + run: | + for p in $(ls bin/ | grep vst.so); do \ + env CARLA_BRIDGE_DUMMY=1 CARLA_BRIDGE_TESTING=native \ + valgrind \ + --error-exitcode=255 \ + --leak-check=full \ + --track-origins=yes \ + --suppressions=./utils/valgrind-dpf.supp \ + /usr/lib/carla/carla-bridge-native vst2 ./bin/${p} "" 1>/dev/null; \ + done diff --git a/utils/valgrind-dpf.supp b/utils/valgrind-dpf.supp @@ -12,13 +12,6 @@ fun:_dl_close ... } -# { -# libdl is full of leaks -# Memcheck:Leak -# ... -# fun:_dl_allocate_tls -# ... -# } { libdl is full of leaks Memcheck:Leak @@ -28,6 +21,14 @@ { libdl is full of leaks Memcheck:Leak + fun:calloc + fun:allocate_dtv + fun:_dl_allocate_tls + ... +} +{ + libdl is full of leaks + Memcheck:Leak ... fun:call_init.part.0 }