Check-in [cb0c37e35e]
Overview
Comment:Updated to ignore created SDKs when looking for created kits during test builds
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | tcl-sdk-support
Files: files | file ages | folders
SHA1:cb0c37e35efc3aebc392afab59437ce39658e15f
User & Date: rkeene on 2011-11-14 04:29:42
Other Links: manifest | tags
Context
2011-11-14
05:01
Added documentation on KitDLL SDK check-in: 6f5ce08b75 user: rkeene tags: tcl-sdk-support
04:29
Updated to ignore created SDKs when looking for created kits during test builds check-in: cb0c37e35e user: rkeene tags: tcl-sdk-support
04:23
Added support for performing post-build actions

Added post-build action "sdk" for building a KitDLL SDK if KitDLL building was requested check-in: 2906d8d4b0 user: rkeene tags: tcl-sdk-support

Changes

Modified build/test/test from [8772772acc] to [97d02f3024].

   199    199   		fi
   200    200   
   201    201   		# Create Tclkit
   202    202   		if [ "${kitdll}" = "1" ]; then
   203    203   			createdkit="libtclkit*.dll libtclkit*.*"
   204    204   			outputname="${TESTDIR}/kits/libtclkit-${version}-${kit}"
   205    205   			failoutputname="${TESTDIR}/kits/failed/libtclkit-${version}-${kit}"
          206  +			sdk="$(echo libtclkit-sdk-*.tar.gz)"
   206    207   		else
   207    208   			createdkit="tclkit-${version}"
   208    209   			outputname="${TESTDIR}/kits/tclkit-${version}-${kit}"
   209    210   			failoutputname="${TESTDIR}/kits/failed/tclkit-${version}-${kit}"
          211  +			sdk=''
   210    212   		fi
   211    213   		buildlog="${outputname}-build.log"
   212    214   		failbuildlog="${failoutputname}-build.log"
   213    215   		testresultslog="${outputname}-tests.log"
   214    216   
   215    217   		if [ ! -f "${outputname}" ]; then
   216    218   			unset KITCREATOR_PKGS STATICTK STRIP
................................................................................
   321    323   					cd kitsh/build/kitsh-*/ || exit 1
   322    324   					make tclsh
   323    325   					cp tclsh ../../../
   324    326   				) >> "${buildlog}" 2>&1
   325    327   			fi
   326    328   
   327    329   			# Perform wildcard expansion
   328         -			createdkit="$(ls -f1 ${createdkit} 2>/dev/null | head -n 1)"
          330  +			createdkit="$(ls -f1 ${createdkit} 2>/dev/null | grep -v '\.tar\.gz$' | head -n 1)"
   329    331   
   330    332   			if [ ! -f "${createdkit}" ]; then
   331    333   				echo "Failed to create kit ${version}/${kit}" >&2
   332    334   
   333    335   				failed="${failed} ${version}/${kit}-build"
   334    336   
   335    337   				touch "${failoutputname}"