mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-07 15:25:01 +01:00
Fix test runner for tests that use files.
This commit is contained in:
parent
2588b1cac9
commit
302c93df04
2 changed files with 11 additions and 3 deletions
|
|
@ -1,4 +1,6 @@
|
||||||
TOP=`dirname "$0"`/..
|
if [ -z "$TOP" ]; then
|
||||||
|
TOP=`dirname "$0"`/..
|
||||||
|
fi
|
||||||
|
|
||||||
#export G_DEBUG=fatal_criticals
|
#export G_DEBUG=fatal_criticals
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,9 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
. `dirname "$0"`/../build/gtk2_ardour/ardev_common_waf.sh
|
|
||||||
|
REL_TOP=`dirname "$0"`/..
|
||||||
|
TOP=`realpath $REL_TOP`
|
||||||
|
|
||||||
|
. $TOP/build/gtk2_ardour/ardev_common_waf.sh
|
||||||
|
|
||||||
LIBS_DIR=$TOP/build/libs
|
LIBS_DIR=$TOP/build/libs
|
||||||
|
|
||||||
|
|
@ -9,7 +13,9 @@ run_tests () {
|
||||||
echo "Running tests for $1..."
|
echo "Running tests for $1..."
|
||||||
echo "-------------------------------------------"
|
echo "-------------------------------------------"
|
||||||
echo ""
|
echo ""
|
||||||
$2 $LIBS_DIR/$1/run-tests
|
cd $LIBS_DIR/$1
|
||||||
|
$2 ./run-tests
|
||||||
|
cd -
|
||||||
echo ""
|
echo ""
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue