~ubuntu-branches/ubuntu/saucy/augeas/saucy

« back to all changes in this revision

Viewing changes to tests/lens-aptcacherngsecurity.sh

  • Committer: Package Import Robot
  • Author(s): Matthias Klose
  • Date: 2013-09-26 16:14:45 UTC
  • mfrom: (1.4.5) (24.1.2 saucy-proposed)
  • Revision ID: package-import@ubuntu.com-20130926161445-2meskomiobdi658a
Tags: 1.1.0-0ubuntu2
* Build the test-lock and test-thread_create tests with --no-as-needed
  to fix the test failures. LP: #1216917.
* Configure with --disable-silent-rules.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#! /bin/sh
 
2
# Run one lens test.
 
3
# Derive names of inputs from the name of this script.
 
4
 
 
5
[ -n "$abs_top_srcdir" ] || abs_top_srcdir=$TOPDIR
 
6
LENS_DIR=$abs_top_srcdir/lenses
 
7
 
 
8
me=`echo "$0"|sed 's,.*/lens-\(.*\)\.sh$,\1,'`
 
9
 
 
10
t=$LENS_DIR/tests/test_$me.aug
 
11
 
 
12
if [ -n "$VALGRIND" ] ; then
 
13
  exec $VALGRIND $AUGPARSE --nostdinc -I "$LENS_DIR" "$t"
 
14
else
 
15
  exec augparse --nostdinc -I "$LENS_DIR" "$t"
 
16
fi