Blame tests/lens-resolv.sh
|
Packit Service |
a2ae7a |
#! /bin/sh
|
|
Packit Service |
a2ae7a |
# Run one lens test.
|
|
Packit Service |
a2ae7a |
# Derive names of inputs from the name of this script.
|
|
Packit Service |
a2ae7a |
|
|
Packit Service |
a2ae7a |
[ -n "$abs_top_srcdir" ] || abs_top_srcdir=$TOPDIR
|
|
Packit Service |
a2ae7a |
LENS_DIR=$abs_top_srcdir/lenses
|
|
Packit Service |
a2ae7a |
|
|
Packit Service |
a2ae7a |
me=`echo "$0"|sed 's,.*/lens-\(.*\)\.sh$,\1,'`
|
|
Packit Service |
a2ae7a |
|
|
Packit Service |
a2ae7a |
t=$LENS_DIR/tests/test_$me.aug
|
|
Packit Service |
a2ae7a |
|
|
Packit Service |
a2ae7a |
if [ -n "$VALGRIND" ] ; then
|
|
Packit Service |
a2ae7a |
exec $VALGRIND $AUGPARSE --nostdinc -I "$LENS_DIR" "$t"
|
|
Packit Service |
a2ae7a |
else
|
|
Packit Service |
a2ae7a |
export MALLOC_CHECK_=3
|
|
Packit Service |
a2ae7a |
exec augparse --nostdinc -I "$LENS_DIR" "$t"
|
|
Packit Service |
a2ae7a |
fi
|