Download this file
19 lines (15 with data), 463 Bytes
#!/usr/bin/env bash
t=${0##*/}; TEST_NAME=${t:5} # basename $0 with 'test-' stripped off
[ -z "$builddir" ] && builddir=$PWD
. ${builddir}/check-common.sh
script=dbg-test1
tests=${@:-"brkpt1 brkpt2 brkpt3"}
for SUBTEST in $tests ; do
echo running $SUBTEST
[[ $SUBTEST == brkpt3 ]] && script=subshell
run_test_check $script $SUBTEST
rc=$?
(( $rc != 0 )) && exit $rc
done
# Return code tells testing mechanism whether passed or not.
exit 0
×
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.