mirror of
https://github.com/Unidata/netcdf-c.git
synced 2024-11-21 03:13:42 +08:00
23 lines
402 B
Bash
23 lines
402 B
Bash
|
#!/bin/sh
|
||
|
|
||
|
# This shell runs the HDF4 tests with valgrind.
|
||
|
|
||
|
# $Id: run_hdf4_valgrind_tests.sh,v 1.1 2009/07/13 14:53:52 ed Exp $
|
||
|
|
||
|
set -e
|
||
|
echo ""
|
||
|
echo "Testing programs with valgrind..."
|
||
|
|
||
|
# These are my test programs.
|
||
|
list='tst_interops2 '
|
||
|
|
||
|
for tst in $list; do
|
||
|
echo ""
|
||
|
echo "Memory testing with $tst:"
|
||
|
valgrind -q --error-exitcode=2 --leak-check=full ./$tst
|
||
|
done
|
||
|
|
||
|
echo "SUCCESS!!!"
|
||
|
|
||
|
exit 0
|