#!/bin/bash export LD_LIBRARY_PATH=build/src/lib:$LD_LIBRARY_PATH if [ "$1" == "--debug" ]; then gdb --args build/test/long-unit-tests elif [ "$1" == "--valgrind" ]; then valgrind --tool="memcheck" --leak-check=full build/test/long-unit-tests else build/test/long-unit-tests fi