Added check to the list

of packages which are not built if testsuites are not run
This commit is contained in:
Pierre Labastie 2012-02-09 13:45:22 +00:00
parent e47edcf2ef
commit 7831c7980b

View file

@ -77,12 +77,14 @@ chapter5_Makefiles() {
# Keep the script file name
this_script=`basename $file`
# If no testsuites will be run, then TCL, Expect and DejaGNU aren't needed
# If no testsuites are run, then TCL, Expect, DejaGNU and Check
# aren't needed.
# Fix also locales creation when running chapter05 testsuites (ugly)
case "${this_script}" in
*tcl) [[ "${TEST}" = "0" ]] && continue ;;
*expect) [[ "${TEST}" = "0" ]] && continue ;;
*dejagnu) [[ "${TEST}" = "0" ]] && continue ;;
*check) [[ "${TEST}" = "0" ]] && continue ;;
*stripping) [[ "${STRIP}" = "n" ]] && continue ;;
*glibc) [[ "${TEST}" = "3" ]] && \
sed -i 's@/usr/lib/locale@/tools/lib/locale@' $file ;;