Check-in [9374941c5a]
Overview
Comment:Fixed some KitDLL tests to correctly build

Added more KitDLL test cases

Fixed issue with test publisher not dealing with the new files in the kits directory

Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:9374941c5aaeb2c2c347a03c4907adadd2934803
User & Date: rkeene on 2010-10-04 04:23:39
Other Links: manifest | tags
Context
2010-10-04
04:52
Added Threads test check-in: 6a3474d699 user: rkeene tags: trunk
04:23
Fixed some KitDLL tests to correctly build

Added more KitDLL test cases

Fixed issue with test publisher not dealing with the new files in the kits directory check-in: 9374941c5a user: rkeene tags: trunk

2010-10-03
21:03
Added KitDLL to test suite check-in: 35e596ec3e user: rkeene tags: trunk
Changes

Modified build/test/publish-tests from [6824fb8fe5] to [0fb29ccacd].

   135    135   	set shortfile $file
   136    136   	set file [file join $WEBDIR $file]
   137    137   	if {[file isdirectory $file]} {
   138    138   		continue
   139    139   	}
   140    140   
   141    141   	switch -glob -- $file {
   142         -		"*.log" - "*.ttml" - "*.html" - "*.desc" {
          142  +		"*.log" - "*.ttml" - "*.html" - "*.desc" - "*-origname" - "*-tclsh" {
   143    143   			continue
   144    144   		}
   145    145   	}
   146    146   
   147    147   	# Derive what we can from the filename
   148    148   	set buildfile "${shortfile}-build.log"
   149    149   

Modified build/test/test from [39ea564cba] to [58637ff4f9].

    49     49   	Xvfb :31 -screen 0 800x600x24 -nolisten tcp >/dev/null 2>/dev/null &
    50     50   	echo "$!"
    51     51   )"
    52     52   DISPLAY=:31
    53     53   export DISPLAY
    54     54   
    55     55   failed=""
    56         -for kit in normal normal-zip normal-threaded normal-threaded-zip normal-statictk normal-notk normal-threaded-notk normal-threaded-zip-notk normal-nomk4 min min-static normal-kitdll normal-threaded-kitdll normal-notk-kitdll normal-nomk4-notk-kitdll min-kitdll win32-i586 win32-i586-zip win32-i586-threaded win32-i586-threaded-zip win32-i586-notk win32-i586-threaded-notk win32-i586-nomk4 win32-i586-kitdll win32-i586-threaded-kitdll win32-i586-notk-kitdll win32-i586-nomk4-notk-kitdll linux-arm-min linux-arm-min-kitdll; do
           56  +for kit in normal normal-zip normal-threaded normal-threaded-zip normal-statictk normal-notk normal-threaded-notk normal-threaded-zip-notk normal-nomk4 min min-static normal-kitdll normal-threaded-kitdll normal-notk-kitdll normal-nomk4-kitdll normal-nomk4-notk-kitdll normal-threaded-nomk4-kitdll normal-threaded-notk-nomk4-kitdll min-kitdll win32-i586 win32-i586-zip win32-i586-threaded win32-i586-threaded-zip win32-i586-notk win32-i586-threaded-notk win32-i586-nomk4 win32-i586-kitdll win32-i586-threaded-kitdll win32-i586-notk-kitdll win32-i586-nomk4-kitdll win32-i586-nomk4-notk-kitdll win32-i586-threaded-nomk4-kitdll win32-i586-threaded-notk-nomk4-kitdll linux-arm-min linux-arm-min-kitdll; do
    57     57   	kitcreator="./kitcreator"
    58     58   	args=""
    59     59   	runnable="1"
    60     60   	iszip="0"
    61     61   	statictk="0"
    62     62   	notk="0"
    63     63   	nomk4="0"
................................................................................
    68     68   	# Handle base configuration
    69     69   	os="$(uname -s | dd conv=lcase 2>/dev/null)"
    70     70   	cpu="$(uname -m | dd conv=lcase 2>/dev/null)"
    71     71   	case "${kit}" in
    72     72   		normal|normal-*)
    73     73   			kit="$(echo "${kit}" | sed "s@^normal@$os-$cpu@")"
    74     74   			;;
    75         -		min)
           75  +		min|min-kitdll)
    76     76   			kitcreator="./build/make-minkit"
    77     77   			iszip="1"
    78     78   			notk="1"
    79         -			kit="${os}-${cpu}-min"
           79  +			kit="$(echo "${kit}" | sed "s@^min@$os-$cpu-min@")"
    80     80   			;;
    81     81   		min-static)
    82     82   			kitcreator="./build/make-minkit-static"
    83     83   			iszip="1"
    84     84   			notk="1"
    85     85   			kit="${os}-${cpu}-min-static"
    86     86   			;;
    87     87   		win32|win32-*)
    88     88   			kitcreator="./build/make-kit-win32"
    89     89   			xcompile="1"
    90     90   			kitruncmd="wine"
    91     91   			;;
    92         -		linux-arm-min)
           92  +		linux-arm-min|linux-arm-min-kitdll)
    93     93   			kitcreator="./build/make-kit-arm"
    94     94   			runnable="0"
    95     95   			xcompile="1"
    96     96   			notk="1"
    97     97   			iszip="1"
    98     98   			;;
    99     99   	esac
................................................................................
   137    137   				iszip="1"
   138    138   				;;
   139    139   			*-kitdll-*)
   140    140   				kitdll="1"
   141    141   				;;
   142    142   		esac
   143    143   	done
          144  +
          145  +	if [ "${kitdll}" = "1" ]; then
          146  +		# Currently no KitDLL uses Zip
          147  +		iszip="0"
          148  +	fi
   144    149   
   145    150   	for version in ${VERSIONS}; do
   146    151   		# Work around changes in default behaviour
   147    152   		if [ "${version}" = "cvs_HEAD" ]; then
   148    153   			kit="$(echo "${kit}" | sed 's@-threaded@-unthreaded@')"
   149    154   			args="$(echo "${args}" | sed 's@ --enable-threads@ --disable-threads@')"
   150    155   		fi