]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/testsuite/gdb.hp/gdb.base-hp/so-thresh.sh
* configure.ac: Move comment to remove extra space in last argument
[thirdparty/binutils-gdb.git] / gdb / testsuite / gdb.hp / gdb.base-hp / so-thresh.sh
CommitLineData
7be570e7
JM
1#!/bin/ksh
2
3# so-thresh.sh
4#
5# This script is a "wrapper" to use the so-thresh.mk
6# Makefile. See the comments in so-thresh.exp
7# regarding why this script exists.
8
9#set -o xtrace
10#set -o verbose
11
12if [ "$srcdir" = "${srcdir#/}" ]
13then
14 srcdir="$PWD/$srcdir"
15fi
16
17if [ "$objdir" = "${objdir#/}" ]
18then
19 objdir="$PWD/$objdir"
20fi
21
22subdir="$1"
23
24HERE=$PWD
25cd $subdir
26
27MAKEFLAGS=
28make -f ${srcdir}/${subdir}/so-thresh.mk clean require_shlibs all SRCDIR=${srcdir}/${subdir} OBJDIR=${objdir}/${subdir} > ${objdir}/${subdir}/so-thresh.make.out 2>&1
29STATUS=$?
30
31cd $HERE
32echo "return STATUS is $STATUS"
33
34exit $STATUS