Overview
Comment: | Added script to publish test results
Added new "parray" test |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: | 2a8304f779ce276f8228330300fedbd62455b64f |
User & Date: | rkeene on 2010-09-26 04:46:15 |
Other Links: | manifest | tags |
Context
2010-09-26
| ||
04:46 | Updated to remove duplicate library references when linking in Tk check-in: 82f72a0dcd user: rkeene tags: trunk | |
04:46 |
Added script to publish test results
Added new "parray" test check-in: 2a8304f779 user: rkeene tags: trunk | |
04:46 | Added internal testing script check-in: b180e9a80f user: rkeene tags: trunk | |
Changes
Added build/test/publish-tests version [091622edc7].
1 +#! /bin/bash 2 + 3 +WEBDIR="/web/rkeene/devel/kitcreator/kitbuild" 4 +export WEBDIR 5 + 6 +if [ ! -d "kits" ]; then 7 + echo 'Could not find kits/ directory, aborting.' >&2 8 + 9 + exit 1 10 +fi 11 + 12 +rm -rf "${WEBDIR}" 13 +mkdir -p "${WEBDIR}" || exit 1 14 + 15 +ln -s ../index.ttml "${WEBDIR}" >/dev/null 2>/dev/null 16 + 17 +cp kits/* "${WEBDIR}" 18 + 19 +for file in "${WEBDIR}"/*; do 20 + if echo "${file}" | egrep '\.(log|desc|ttml)$' >/dev/null; then 21 + continue 22 + fi 23 + 24 + descfile="${file}.desc" 25 + shortfile="$(basename "${file}")" 26 + desc="" 27 + 28 + tclversion="$(echo "${shortfile}" | cut -f 2 -d -)" 29 + parts="$(echo "${shortfile}" | cut -f 3- -d -)" 30 + 31 + while [ "${parts}" != "" ]; do 32 + case "${parts}-" in 33 + normal-*) 34 + true 35 + ;; 36 + arm-*) 37 + desc="${desc} on the CPU architecture MIPSEL/uClibc" 38 + ;; 39 + win32-*) 40 + desc="${desc} for Microsoft Windows" 41 + ;; 42 + threaded-*) 43 + desc="${desc} with threads support" 44 + ;; 45 + min-*) 46 + desc="${desc} compiled minimally" 47 + ;; 48 + static-*) 49 + desc="${desc} and statically" 50 + ;; 51 + notk-*) 52 + if echo "${desc}" | grep -i support >/dev/null; then 53 + desc="${desc} and" 54 + fi 55 + desc="${desc} without Tk" 56 + ;; 57 + zip-*) 58 + desc="${desc} using ZIP for Kit storage" 59 + ;; 60 + *) 61 + echo "Unknown part (\"${parts}\"), skipping \"${shortfile}\"" >&2 62 + break 63 + ;; 64 + esac 65 + 66 + newparts="$(echo "${parts}" | cut -f 2- -d -)" 67 + if [ "${newparts}" = "${parts}" ]; then 68 + parts="" 69 + else 70 + parts="${newparts}" 71 + fi 72 + done 73 + 74 + if [ -z "${desc}" ]; then 75 + continue 76 + fi 77 + 78 + case "${tclversion}" in 79 + cvs_HEAD) 80 + tclversion="from CVS HEAD" 81 + ;; 82 + cvs_*) 83 + tclversion="from CVS tag $(echo "${tclversion}" | cut -f 2 -d _)" 84 + ;; 85 + esac 86 + 87 + desc="is a Tclkit for Tcl ${tclversion}${desc}" 88 + 89 + echo "${desc}" > "${descfile}" 90 +done
Added build/test/tests/06-parray.tcl version [967c7c553c].
1 +#! /usr/bin/env tclsh 2 + 3 +parray tcl_platform 4 + 5 +exit 0