1 # Use this script to set certain test environments, as follows:
2 # . set_testenv valgrind
4 # To clear the test environment:
6 # To show the test environment:
13 echo "Setting test environment for valgrind"
14 export GEDCOM_TESTENV='valgrind --leak-check=yes --show-reachable=yes --num-callers=20'
15 unset GEDCOM_NOOPTS ;;
18 echo "Setting test environment for ddd"
19 export GEDCOM_TESTENV='ddd'
20 export GEDCOM_NOOPTS=1 ;;
23 echo "GEDCOM_TESTENV=$GEDCOM_TESTENV"
24 echo "GEDCOM_NOOPTS=$GEDCOM_NOOPTS" ;;
27 echo "Clearing test environment"
29 unset GEDCOM_NOOPTS ;;
32 echo "Unknown test environment: $testenv" ;;