tests/pipewire: test for LADSPA

This commit is contained in:
isabel
2026-04-22 15:24:44 -05:00
committed by Austin Horstman
parent 38d4260bc8
commit d1759673d7
+10 -2
View File
@@ -9,6 +9,12 @@
bing bong
'')
];
extraLadspaPackages = [
(pkgs.writeTextDir "lib/ladspa/test" ''
bing bong
'')
];
};
nmt.script = ''
@@ -17,9 +23,11 @@
assertPathNotExists 'home-files/.local/share/wireplumber'
file='home-files/.config/environment.d/10-home-manager.conf'
regex='^LV2_PATH=/nix/store/.*/lib/lv2\''${LV2_PATH:+:\$LV2_PATH}$'
lv2regex='^LV2_PATH=/nix/store/.*/lib/lv2\''${LV2_PATH:+:\$LV2_PATH}$'
ladsparegex='^LADSPA_PATH=/nix/store/.*/lib/ladspa\''${LADSPA_PATH:+:\$LADSPA_PATH}$'
assertFileExists "$file"
assertFileRegex "$file" "$regex"
assertFileRegex "$file" "$lv2regex"
assertFileRegex "$file" "$ladsparegex"
'';
}