Check-in [2a8304f779]
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
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
#! /bin/bash

WEBDIR="/web/rkeene/devel/kitcreator/kitbuild"
export WEBDIR

if [ ! -d "kits" ]; then
	echo 'Could not find kits/ directory, aborting.' >&2

	exit 1
fi

rm -rf "${WEBDIR}"
mkdir -p "${WEBDIR}" || exit 1

ln -s ../index.ttml "${WEBDIR}" >/dev/null 2>/dev/null

cp kits/* "${WEBDIR}"

for file in "${WEBDIR}"/*; do
	if echo "${file}" | egrep '\.(log|desc|ttml)$' >/dev/null; then
		continue
	fi

	descfile="${file}.desc"
	shortfile="$(basename "${file}")"
	desc=""

	tclversion="$(echo "${shortfile}" | cut -f 2 -d -)"
	parts="$(echo "${shortfile}" | cut -f 3- -d -)"

	while [ "${parts}" != "" ]; do
		case "${parts}-" in
			normal-*)
				true
				;;
			arm-*)
				desc="${desc} on the CPU architecture MIPSEL/uClibc"
				;;
			win32-*)
				desc="${desc} for Microsoft Windows"
				;;
			threaded-*)
				desc="${desc} with threads support"
				;;
			min-*)
				desc="${desc} compiled minimally"
				;;
			static-*)
				desc="${desc} and statically"
				;;
			notk-*)
				if echo "${desc}" | grep -i support >/dev/null; then
					desc="${desc} and"
				fi
				desc="${desc} without Tk"
				;;
			zip-*)
				desc="${desc} using ZIP for Kit storage"
				;;
			*)
				echo "Unknown part (\"${parts}\"), skipping \"${shortfile}\"" >&2
				break
				;;
		esac

		newparts="$(echo "${parts}" | cut -f 2- -d -)"
		if [ "${newparts}" = "${parts}" ]; then
			parts=""
		else
			parts="${newparts}"
		fi
	done

	if [ -z "${desc}" ]; then
		continue
	fi

	case "${tclversion}" in
		cvs_HEAD)
			tclversion="from CVS HEAD"
			;;
		cvs_*)
			tclversion="from CVS tag $(echo "${tclversion}" | cut -f 2 -d _)"
			;;
	esac

	desc="is a Tclkit for Tcl ${tclversion}${desc}"

	echo "${desc}" > "${descfile}"
done

Added build/test/tests/06-parray.tcl version [967c7c553c].






1
2
3
4
5
+
+
+
+
+
#! /usr/bin/env tclsh

parray tcl_platform

exit 0