Overview
| Comment: | Added StaticTk builds
Updated to move failed builds into failed directory |
|---|---|
| Downloads: | Tarball | ZIP archive | SQL archive |
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA1: |
fdb515dc702f97b618b10d08bb03637f |
| User & Date: | rkeene on 2010-09-26 04:46:40 |
| Other Links: | manifest | tags |
Context
|
2010-09-26
| ||
| 04:46 | Updated to cleanup logs that are empty check-in: 44fdeb3c7e user: rkeene tags: trunk | |
| 04:46 |
Added StaticTk builds
Updated to move failed builds into failed directory check-in: fdb515dc70 user: rkeene tags: trunk | |
| 04:46 |
Cleaned up winMain
Updated main to return in failure if Tcl_Main() returns check-in: 5dc6b2220b user: rkeene tags: trunk | |
Changes
Modified build/test/publish-tests from [091622edc7] to [db5cad6f63].
| ︙ | |||
8 9 10 11 12 13 14 | 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 | - + - + + + + + |
exit 1
fi
rm -rf "${WEBDIR}"
mkdir -p "${WEBDIR}" || exit 1
|
| ︙ | |||
50 51 52 53 54 55 56 57 58 59 60 61 62 63 | 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 | + + + + + + |
;;
notk-*)
if echo "${desc}" | grep -i support >/dev/null; then
desc="${desc} and"
fi
desc="${desc} without Tk"
;;
statictk-*)
if echo "${desc}" | grep -i support >/dev/null; then
desc="${desc} and"
fi
desc="${desc} with Tk linked directly to the kit"
;;
zip-*)
desc="${desc} using ZIP for Kit storage"
;;
*)
echo "Unknown part (\"${parts}\"), skipping \"${shortfile}\"" >&2
break
;;
|
| ︙ | |||
84 85 86 87 88 89 90 | 94 95 96 97 98 99 100 101 102 103 104 105 106 | + + + + + + |
;;
esac
desc="is a Tclkit for Tcl ${tclversion}${desc}"
echo "${desc}" > "${descfile}"
done
rmdir "${WEBDIR}/failed" >/dev/null 2>/dev/null
ln -s ../index.ttml "${WEBDIR}/failed/" >/dev/null 2>/dev/null
exit 0
|
Modified build/test/test from [00a188ebb7] to [541777ce91].
| ︙ | |||
24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 | 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 | + - + |
# Handle command-line arguments
if [ "$1" = "clean" ]; then
rm -rf "${TESTDIR}/kits"
fi
# Create place to put kits
mkdir "${TESTDIR}/kits" >/dev/null 2>/dev/null
mkdir "${TESTDIR}/kits/failed" >/dev/null 2>/dev/null
if [ ! -d "${TESTDIR}/kits" ]; then
echo 'Unable to create kits/ directory, aborting.' >&2
exit 1
fi
# Cleanup
for file in "${TESTDIR}"/kits/*.log; do
if echo "${file}" | grep -- '-build.log$' >/dev/null; then
continue
fi
rm -f "${file}"
done
failed=""
|
| ︙ | |||
111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 | 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 | + + + + + + + + + + |
esac
done
for version in ${VERSIONS}; do
# Create Tclkit
createdkit="tclkit-${version}"
outputname="${TESTDIR}/kits/tclkit-${version}-${kit}"
failoutputname="${TESTDIR}/kits/failed/tclkit-${version}-${kit}"
buildlog="${outputname}-build.log"
failbuildlog="${failoutputname}-build.log"
if [ ! -f "${outputname}" ]; then
unset KITCREATOR_PKGS STATICTK
if [ -f "${failoutputname}" ]; then
echo "Skipping rebuilding failed kit ${version}/${kit} ..."
failed="${failed} ${version}/${kit}-build"
continue
fi
echo "Creating Tclkit ${version}/${kit}..."
if [ "${notk}" = "1" ]; then
KITCREATOR_PKGS='itcl mk4tcl'
export KITCREATOR_PKGS
fi
|
| ︙ | |||
137 138 139 140 141 142 143 144 145 146 147 148 149 150 | 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 | + + + |
grep -n '^' */build.log >> "${buildlog}" 2>&1
if [ ! -f "${createdkit}" ]; then
echo "Failed to create kit ${version}/${kit}" >&2
failed="${failed} ${version}/${kit}-build"
touch "${failoutputname}"
mv "${buildlog}" "${failbuildlog}"
continue
fi
# Verify sanity of created kit
issane=1
## Verify the Win32 kits are
|
| ︙ | |||
172 173 174 175 176 177 178 | 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 | - + + |
# Make note of sanity failure
if [ "${issane}" != "1" ]; then
echo "Kit failed sanity ${version}/${kit}" >&2
failed="${failed} ${version}/${kit}-sanity"
|
| ︙ |