1 # Use this script to set certain test environments, as follows:
2 # . set_testenv valgrind
4 # To clear the test environment:
11 echo "Setting test environment for valgrind"
12 export GEDCOM_TESTENV='valgrind --leak-check=yes --show-reachable=yes --num-callers=20'
13 unset GEDCOM_NOOPTS ;;
16 echo "Setting test environment for ddd"
17 export GEDCOM_TESTENV='ddd'
18 export GEDCOM_NOOPTS=1 ;;
21 echo "Clearing test environment"
23 unset GEDCOM_NOOPTS ;;
26 echo "Unknown test environment: $testenv" ;;