download and builds the test programs, even if tests are disabled

This commit is contained in:
Pierre Labastie 2013-09-19 15:44:49 +00:00
parent a1dd968a36
commit de84c00168
2 changed files with 6 additions and 6 deletions

View file

@ -78,13 +78,13 @@ chapter5_Makefiles() {
this_script=`basename $file`
# If no testsuites are run, then TCL, Expect, DejaGNU and Check
# aren't needed.
# aren't needed (but building them does not hurt).
# 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 ;;
# *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 ;;

View file

@ -39,7 +39,7 @@ get_sources() { # Download file, write name to MISSING_FILES.DMP if
# Skip some packages if they aren't needed
case $line in
*/check* | */tcl* | */expect* | */dejagnu* | */tree* | */gcc-testsuite* )
*/tree* | */gcc-testsuite* ) #unneeded now?
[[ "$TEST" = "0" ]] && continue
;;
*/vim-*-lang* )