File: run-tests.sh

package info (click to toggle)
ardour 1%3A8.12.0%2Bds-1
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 147,336 kB
  • sloc: cpp: 645,609; ansic: 515,891; xml: 123,665; python: 35,344; javascript: 15,340; sh: 4,983; asm: 1,800; perl: 958; php: 785; makefile: 298; objc: 28
file content (24 lines) | stat: -rw-r--r-- 726 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/bin/bash
#
# Run libcanvas test suite.
#

if [ ! -f './canvas.cc' ]; then
    echo "This script must be run from within the libs/canvas directory";
    exit 1;
fi

srcdir=`pwd`
cd ../../build/default

libs='libs'

export LD_LIBRARY_PATH=$libs/audiographer:$libs/vamp-sdk:$libs/surfaces:$libs/surfaces/control_protocol:$libs/ardour:$libs/midi++2:$libs/pbd:$libs/rubberband:$libs/soundtouch:$libs/gtkmm2ext:$libs/appleutility:$libs/taglib:$libs/evoral:$libs/evoral/src/libsmf:$libs/timecode:$libs/canvas:$LD_LIBRARY_PATH

if [ "$1" == "--debug" ]; then
        gdb ./libs/canvas/run-tests
elif [ "$1" == "--valgrind" ]; then
        valgrind --tool="memcheck" ./libs/canvas/run-tests
else 
        ./libs/canvas/run-tests
fi