Mercurial > pub > dyncall > dyncall
view test/pack-tests.sh @ 382:dd5d03483314
- dynload changes to support macos >= 11.0.1 "built-in dynamic linker cache of all system-provided libraries" (those dylibs are no longer present on the fs)"
* dynload_plain test code changes to reflect this
* note in doc
- changed dynload_plain to not do inode-based tests on windows
author | Tassilo Philipp |
---|---|
date | Wed, 20 Jan 2021 13:49:43 +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"