mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-07 23:35:03 +01:00
Canvas: tweak test script runner
This commit is contained in:
parent
fa9c721777
commit
fdb8ee342e
1 changed files with 9 additions and 1 deletions
|
|
@ -1,6 +1,14 @@
|
|||
#!/bin/sh
|
||||
|
||||
args=
|
||||
num=
|
||||
|
||||
if [ $# -gt 0 ] ; then
|
||||
case $1 in
|
||||
1) shift ;;
|
||||
[2-9]) num=$1 ; shift ;;
|
||||
esac
|
||||
fi
|
||||
|
||||
if [ $# -gt 0 ] ; then
|
||||
args="$@"
|
||||
|
|
@ -15,4 +23,4 @@ for lib in pbd canvas gtkmm2ext ; do
|
|||
export LD_LIBRARY_PATH=$libs/$lib:${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}
|
||||
done
|
||||
|
||||
$args $TOP/build/libs/canvas/constraint_test
|
||||
$args $TOP/build/libs/canvas/constraint_test$num
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue