blob: 513294d17574420954d96d6d63d41ed82016541b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
#!/bin/bash
export LD_LIBRARY_PATH=build/src:build/asdcplib/src:$LD_LIBRARY_PATH
# SIP stops this being passed in from the caller's environment
export DYLD_LIBRARY_PATH=/Users/ci/osx-environment/x86_64/10.10/lib
if [ "$1" == "--debug" ]; then
shift
gdb --args build/test/subs_in_out "$@"
elif [ "$1" == "--valgrind" ]; then
shift
valgrind --tool="memcheck" --leak-check=full --show-reachable=yes build/test/subs_in_out "$@"
else
build/test/subs_in_out "$@"
fi
|