Canvas: tweak test script runner
This commit is contained in:
parent
61742ededf
commit
2e993c6f86
@ -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…
Reference in New Issue
Block a user