diff options
Diffstat (limited to 'tests/test-subr.sh')
| -rw-r--r-- | tests/test-subr.sh | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/test-subr.sh b/tests/test-subr.sh index e768c1e5..411e5f28 100644 --- a/tests/test-subr.sh +++ b/tests/test-subr.sh @@ -168,6 +168,19 @@ testrun_on_self_lib() if test $exit_status != 0; then exit $exit_status; fi } +testrun_on_self_obj() +{ + exit_status=0 + + for file in $self_test_files_obj; do + testrun $* $file \ + || { echo "*** failure in $* $file"; exit_status=1; } + done + + # Only exit if something failed + if test $exit_status != 0; then exit $exit_status; fi +} + # Compress the files first. Compress both debug sections and symtab. testrun_on_self_compressed() { |
