aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xtest/run_and_catch_crashes32
-rwxr-xr-xtools/compare-abis.sh11
2 files changed, 5 insertions, 38 deletions
diff --git a/test/run_and_catch_crashes b/test/run_and_catch_crashes
index 690706a9ab..8073b11b7e 100755
--- a/test/run_and_catch_crashes
+++ b/test/run_and_catch_crashes
@@ -64,18 +64,6 @@ echo last expr command was expr "$1" : ".*=.*"
then
#
# Found the executable.
- # Is it a libtool wrapper script? Look for a .libs
- # directory.
- #
- executable_dirname=`dirname "$executable"`
- if [ -d "$executable_dirname"/.libs ]
- then
- is_libtool_wrapper=yes
- else
- is_libtool_wrapper=no
- fi
-
- #
# Now, look for a debugger.
# XXX - lldb?
#
@@ -87,18 +75,10 @@ echo last expr command was expr "$1" : ".*=.*"
# cause the stack trace to go to the standard
# error.
#
- if [ $is_libtool_wrapper = yes ]
- then
- $executable_dirname/libtool --mode=execute dbx "$executable" core 1>&2 <<EOF
+ dbx "$executable" core 1>&2 <<EOF
where
quit
EOF
- else
- dbx "$executable" core 1>&2 <<EOF
-where
-quit
-EOF
- fi
else
gdb=`which gdb`
if [ ! -z "$gdb" ]
@@ -108,18 +88,10 @@ EOF
# cause the stack trace to go to the standard
# error.
#
- if [ $is_libtool_wrapper = yes ]
- then
- $executable_dirname/libtool --mode=execute gdb "$executable" core 1>&2 <<EOF
-backtrace
-quit
-EOF
- else
- gdb "$executable" core 1>&2 <<EOF
+ gdb "$executable" core 1>&2 <<EOF
backtrace
quit
EOF
- fi
fi
fi
fi
diff --git a/tools/compare-abis.sh b/tools/compare-abis.sh
index b820c8bd8c..8d18683c8a 100755
--- a/tools/compare-abis.sh
+++ b/tools/compare-abis.sh
@@ -32,17 +32,12 @@ function acc () {
V1_PATH=$1
V2_PATH=$2
-# both working copies have to be built first with autotools or with cmake
+# both working copies have to be built first with cmake
# make -C $V1_PATH all dumpabi
# make -C $V2_PATH all dumpabi
-if test -d $V1_PATH/lib; then
- REL_LIB_PATH=../lib
- REL_DUMP_PATH=.
-else
- REL_LIB_PATH=.libs
- REL_DUMP_PATH=.libs
-fi
+REL_LIB_PATH=../lib
+REL_DUMP_PATH=.
acc libwiretap wiretap $V1_PATH $V2_PATH
RET=$?