annotate test/pack-tests.sh @ 358:30aae7371373
- extended signature with calling convention mode switches for fastcall (gnu), default, cdecl, stdcall, arm (arm), arm (thumb), syscall
- made formatted call (dcV?{Call,Arg}F) interface use those calling convention mode signature specifications to begin with
- extended callf testcode with one standard and one vararg call to test those cc mode switches
author |
Tassilo Philipp |
date |
Mon, 13 Apr 2020 15:12:01 +0200 |
parents |
3e629dc19168 |
children |
|
rev |
line source |
0
|
1 #!/bin/sh
|
|
2 # pack-script for embedded testing.
|
|
3
|
|
4 DATE=`date +%s`
|
|
5 NAME="dyncall-tests-${DATE}"
|
|
6
|
|
7 mkdir -p _work/${NAME}
|
|
8 printf "#!/bin/sh\n" >_work/${NAME}/run.sh
|
|
9 for I in $* ; do
|
|
10 cp $I/$I _work/${NAME}
|
|
11 printf "./$I\n" >>_work/${NAME}/run.sh
|
|
12 printf "%-20s <- %-20s\n" "$I" "$PWD/$I/$I" >>_work/${NAME}/CONTENTS.txt
|
|
13 done
|
|
14 mkdir -p _packed
|
|
15 chmod +x _work/${NAME}/run.sh
|
|
16 tar -cvzf _packed/${NAME}.tar.gz -C _work ${NAME}
|
|
17 printf "finished: tests are in ${PWD}/_packed/${NAME}.tar.gz, execute run-all.sh\n"
|
|
18
|