Browse Source

use correct lib extensions in the tests

faust
Alexandros Theodotou 3 years ago
parent
commit
18bdab92f7
Signed by: alex
GPG Key ID: 022EAE42313D70F3
  1. 6
      plugins/meson.build
  2. 9
      scripts/lv2_validate_wrap.sh
  3. 7
      scripts/lv2lint_wrap.sh

6
plugins/meson.build

@ -259,7 +259,7 @@ if get_option ('plugins').contains (pl[0]) @@ -259,7 +259,7 @@ if get_option ('plugins').contains (pl[0])
'LV2 lint', lv2lint_wrap,
args: [
lv2lint.path(), pl_build_dir, pl_str,
pl_uri,
pl_uri, libext,
],
suite: pl[0])
endif
@ -269,8 +269,8 @@ if get_option ('plugins').contains (pl[0]) @@ -269,8 +269,8 @@ if get_option ('plugins').contains (pl[0])
test (
'LV2 validate', lv2_validate_wrap,
args: [
lv2lint.path(), pl_build_dir, pl_str,
pl_uri,
lv2_validate.path(), pl_build_dir, pl_str,
pl_uri, libext,
],
suite: pl[0])
endif

9
scripts/lv2_validate_wrap.sh

@ -11,14 +11,15 @@ LV2_VALIDATE_BIN=$1 @@ -11,14 +11,15 @@ LV2_VALIDATE_BIN=$1
PL_BUILD_DIR=$2
PL_NAME=$3
PL_URI=$4
LIBEXT=$5
tmpdir=$(mktemp -d /tmp/lv2lint_wrap.XXXXXXXXX)
tmpdir=$(mktemp -d /tmp/lv2_validate_wrap.XXXXXXXXX)
tmp_plugin_dir="$tmpdir/$PL_NAME"
mkdir -p "$tmp_plugin_dir"
cp $PL_BUILD_DIR/$PL_NAME.ttl \
$PL_BUILD_DIR/${PL_NAME}_dsp.so $tmp_plugin_dir/
if [ -e $PL_BUILD_DIR/${PL_NAME}_ui.so ] ; then
cp $PL_BUILD_DIR/${PL_NAME}_ui.so $tmp_plugin_dir/
$PL_BUILD_DIR/${PL_NAME}_dsp$LIBEXT $tmp_plugin_dir/
if [ -e $PL_BUILD_DIR/${PL_NAME}_ui$LIBEXT ] ; then
cp $PL_BUILD_DIR/${PL_NAME}_ui$LIBEXT $tmp_plugin_dir/
fi
cp $PL_BUILD_DIR/$3_manifest.ttl $tmp_plugin_dir/manifest.ttl

7
scripts/lv2lint_wrap.sh

@ -11,14 +11,15 @@ LV2_LINT_BIN=$1 @@ -11,14 +11,15 @@ LV2_LINT_BIN=$1
PL_BUILD_DIR=$2
PL_NAME=$3
PL_URI=$4
LIBEXT=$5
tmpdir=$(mktemp -d /tmp/lv2lint_wrap.XXXXXXXXX)
tmp_plugin_dir="$tmpdir/$PL_NAME"
mkdir -p "$tmp_plugin_dir"
cp $PL_BUILD_DIR/$PL_NAME.ttl \
$PL_BUILD_DIR/${PL_NAME}_dsp.so $tmp_plugin_dir/
if [ -e $PL_BUILD_DIR/${PL_NAME}_ui.so ] ; then
cp $PL_BUILD_DIR/${PL_NAME}_ui.so $tmp_plugin_dir/
$PL_BUILD_DIR/${PL_NAME}_dsp$LIBEXT $tmp_plugin_dir/
if [ -e $PL_BUILD_DIR/${PL_NAME}_ui$LIBEXT ] ; then
cp $PL_BUILD_DIR/${PL_NAME}_ui$LIBEXT $tmp_plugin_dir/
fi
cp $PL_BUILD_DIR/$3_manifest.ttl $tmp_plugin_dir/manifest.ttl

Loading…
Cancel
Save