view test/pack-tests.sh @ 542:a73a5cd50c19

- fix passing aggregate-by-val on x64/sysv: subaggr classification for aggr *arrays* was wrong (was problematic when there ware exactly 2 8bytes to be classified, potentially be passed via registers)
author Tassilo Philipp
date Mon, 02 May 2022 15:32:41 +0200
parents 3e629dc19168
children
line wrap: on
line source

#!/bin/sh
# pack-script for embedded testing.

DATE=`date +%s`
NAME="dyncall-tests-${DATE}"

mkdir -p _work/${NAME}
printf "#!/bin/sh\n" >_work/${NAME}/run.sh
for I in $* ; do
cp $I/$I _work/${NAME}
printf "./$I\n" >>_work/${NAME}/run.sh
printf "%-20s <- %-20s\n" "$I" "$PWD/$I/$I" >>_work/${NAME}/CONTENTS.txt
done
mkdir -p _packed
chmod +x _work/${NAME}/run.sh
tar -cvzf _packed/${NAME}.tar.gz -C _work ${NAME}
printf "finished: tests are in ${PWD}/_packed/${NAME}.tar.gz, execute run-all.sh\n"