13
0

Canvas: tweak test script runner

This commit is contained in:
Paul Davis 2020-06-19 13:59:08 -06:00
parent 61742ededf
commit 2e993c6f86

View File

@ -1,6 +1,14 @@
#!/bin/sh #!/bin/sh
args= args=
num=
if [ $# -gt 0 ] ; then
case $1 in
1) shift ;;
[2-9]) num=$1 ; shift ;;
esac
fi
if [ $# -gt 0 ] ; then if [ $# -gt 0 ] ; then
args="$@" args="$@"
@ -15,4 +23,4 @@ for lib in pbd canvas gtkmm2ext ; do
export LD_LIBRARY_PATH=$libs/$lib:${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH} export LD_LIBRARY_PATH=$libs/$lib:${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}
done done
$args $TOP/build/libs/canvas/constraint_test $args $TOP/build/libs/canvas/constraint_test$num