/[libtool]/libtool/tests/tagdemo-exec.test
ViewVC logotype

Diff of /libtool/tests/tagdemo-exec.test

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1 by othman, Tue Feb 1 05:42:00 2000 UTC revision 1.2 by rboehne, Wed Jun 6 14:53:29 2001 UTC
# Line 0  Line 1 
1    #! /bin/sh
2    # tagdemo-exec.test - check that programs in the ../tagdemo subdirectory are viable
3    
4    # Test script header.
5    need_prefix=no
6    if test -z "$srcdir"; then
7      srcdir=`echo "$0" | sed 's%/[^/]*$%%'`
8      test "$srcdir" = "$0" && srcdir=.
9      test "${VERBOSE+set}" != "set" && VERBOSE=yes
10    fi
11    . $srcdir/defs || exit 1
12    
13    if test -f ../tagdemo/tagdemo; then :
14    else
15      echo "You must run tagdemo-make.test before running $0" 1>&2
16      exit 77
17    fi
18    
19    # Check to see if the programs really run.
20    echo "Executing uninstalled programs in ../tagdemo"
21    
22    if ../tagdemo/tagdemo; then :
23    else
24      echo "$0: cannot execute ../tagdemo/tagdemo" 1>&2
25      status=1
26    fi
27    
28    exit $status

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26