view testdata/timing/run-for-revision.sh @ 167:416b555df3b2 finetune

More on returning fine tuning (but we're treating different shifts of the same pitch as different notes at the moment which is not right)
author Chris Cannam
date Tue, 20 May 2014 17:49:07 +0100
parents 03fbd6a204fd
children
line wrap: on
line source
#!/bin/sh

revision="$1"

if [ -z "$revision" ]; then
    echo "Usage: run-for-revision.sh <hg-revision-id>"
    exit 2
fi

tmppath="../../../silvet-hg-$revision-$$"

echo
echo "Running timing and validation test script for revision $revision..."

echo
echo "Cloning into $tmppath..."

hg clone -r"$revision" ../.. "$tmppath" || exit 1

echo 
echo "Building..."

( cd "$tmppath" && make -f Makefile.linux ) || exit 1

echo
echo "Copying plugin to local directory..."

cp "$tmppath"/silvet.so ../.. || exit 1

rm -r "$tmppath" 

echo
echo "Running timing and evaluation script..."

./run.sh

echo
echo "Done, for revision $revision"