view tests/test.sh @ 366:9f7297c47850

Update plugin handling to follow the smart pointers used in the svcore library. This is awkward in our context, and the outcome isn't a very nice one - but it does look as if we had the potential for use-after-free in cases where a plugin was both used "bare" and wrapped in an auto-deleting adapter; those should be fixed now
author Chris Cannam
date Thu, 23 Apr 2020 15:51:55 +0100
parents 56ff594b022c
children
line wrap: on
line source
#!/bin/bash

mypath=`dirname $0`

for x in \
    supportprogs \
    helpfulflags \
    parse-errors \
    transforms-basic \
    audioformat \
    vamp-test-plugin \
    as-advertised \
    summaries \
    multiple-audio \
    csv-writer \
    csv-destinations \
    lab-writer \
    lab-destinations \
    rdf-writer \
    rdf-destinations \
    midi-writer \
    midi-destinations \
    jams-writer \
    jams-destinations \
    ; do

    echo -n "$x: "
    if ( cd $mypath/test-$x ; bash ./test-$x.sh ); then
	echo test succeeded
    else
	echo "*** Test FAILED"
	exit 1
    fi

done