Mercurial > pub > dyncall > dyncall
view test/pack-tests.sh @ 632:ed19b429a152
- added explicit arm64 target, and clang tool options to Windows' configure.bat
- configure.{bat,rc} now writing Makefile.config, for consistency/compatibility (e.g. configure.bat can now be used to set up env flags for a non-nmake toolchain)
- simplified/decluttered Windows and Plan9 configure scripts (removal of unused/stale options, ...)
- removed stale test/makepkg.sh helper
author | Tassilo Philipp |
---|---|
date | Sat, 19 Nov 2022 15:45:41 +0100 |
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"