# HG changeset patch # User Markus Mützel # Date 1649871014 -7200 # Node ID b6fb3e2a20241ad8828f955f521010aae1742c23 # Parent 1e7a33a0e58628f5212706eb9d322a56529e5993# Parent 3c3abe6dbe5803ac3faa0d3c81f07a8ae28933ae maint: Merge stable to default. diff -r 1e7a33a0e586 -r b6fb3e2a2024 test/mk-bc-overloads-tst.sh --- a/test/mk-bc-overloads-tst.sh Tue Apr 12 17:15:31 2022 +0200 +++ b/test/mk-bc-overloads-tst.sh Wed Apr 13 19:30:14 2022 +0200 @@ -48,16 +48,16 @@ shift case "$1" in --list-files) - echo $output_dir/tbcover.m - echo $output_dir/bc-overloads.tst + echo tbcover.m + echo bc-overloads.tst for class in $CLASSES; do - echo $output_dir/@$class/tbcover.m + echo @$class/tbcover.m done exit ;; --list-dirs) for class in $CLASSES; do - echo $output_dir/@$class + echo @$class done exit ;; @@ -70,16 +70,16 @@ ;; esac else - echo "usage: build-bc-overload-tests.sh output_dir option" 1>&2 + echo "usage: mk-bc-overload-tst.sh output_dir option" 1>&2 exit 1 fi for class in $CLASSES; do - DIR="$output_dir/@$class" + DIR="@$class" test -d $DIR || mkdir $DIR || { echo "error: could not create $DIR"; exit; } cat > $DIR/tbcover.m << EOF % !!! DO NOT EDIT !!! -% generated automatically by build-bc-overload-tests.sh +% generated automatically by mk-bc-overload-tst.sh function s = tbcover (x, y) s = '$class'; EOF @@ -87,7 +87,7 @@ cat > $output_dir/tbcover.m << EOF % !!! DO NOT EDIT !!! -% generated automatically by build-bc-overload-tests.sh +% generated automatically by mk-bc-overload-tst.sh function s = tbcover (x, y) s = 'none'; EOF