view test/makepkg.sh @ 611:d94b053311a7

test/plain_c++: - refactored to share code - extended to treat default this calls and explicitly as cdecl declared ones, separately - prev point fixes implicitly on x86 a wrong dcMode setting (assumed that cdecl for methods would default to the native this call convention, but actually does not, applies cdecl verbatim) - extended aggr tests to also test explicit cdecl as well as MS thiscalls on x86 - simplified
author Tassilo Philipp
date Thu, 29 Sep 2022 11:47:54 +0200
parents 917d5d213815
children
line wrap: on
line source

#!/bin/sh
# script to package some tests for quick deployment (useful for embedded stuff)

TOP=..
. $TOP/ConfigVars

TESTS="callf ellipsis malloc_wx plain plain_c++ suite suite2 suite3 suite_floats callback_plain callback_plain_c++ callback_suite"
# addition test:
#
# callback_plain callback_suite callf
# ellipsis
# malloc_wx thunk
# nm
# plain suite suite2 suite3
# suite2_x86win32fast suite2_x86win32std suite_x86win32fast suite_x86win32std

TARGET="${CONFIG_OS}_${CONFIG_ARCH}_${CONFIG_TOOL}_${CONFIG_CONFIG}"
BUILD_DIR=build_out

mkdir -p pack_out/testpkg
for I in $TESTS ; do
cp $I/$BUILD_DIR/$TARGET/$I pack_out/testpkg
done
tar -cvzf test-pack.tar.gz -C pack_out testpkg