r2873 - jhalfs/branches/1.0/HLFS

georgeb at linuxfromscratch.org georgeb at linuxfromscratch.org
Tue Aug 1 14:31:33 PDT 2006


Author: georgeb
Date: 2006-08-01 15:31:32 -0600 (Tue, 01 Aug 2006)
New Revision: 2873

Modified:
   jhalfs/branches/1.0/HLFS/master.sh
Log:
port last of HLFS fixes to 1.0

Modified: jhalfs/branches/1.0/HLFS/master.sh
===================================================================
--- jhalfs/branches/1.0/HLFS/master.sh	2006-08-01 21:24:28 UTC (rev 2872)
+++ jhalfs/branches/1.0/HLFS/master.sh	2006-08-01 21:31:32 UTC (rev 2873)
@@ -247,8 +247,6 @@
     if [ "$pkg_tarball" != "" ] ; then
       # Insert instructions for unpacking the package and to set the PKGDIR variable.
       wrt_Unpack_SetOwner "hlfs" "$pkg_tarball"
-      # If the testsuites must be run, initialize the log file
-      [[ "$TEST" = "3" ]] && wrt_test_log "${this_script}"
       # If using optimizations, write the instructions
       [[ "$OPTIMIZE" = "2" ]] &&  wrt_optimize "$name" && wrt_makeflags "$name"
     fi
@@ -353,7 +351,7 @@
     # Drop in the name of the target on a new line, and the previous target
     # as a dependency. Also call the echo_message function.
     if [[ ${name} = "butterfly-toolchain" ]]; then
-       wrt_target "$this_script" "$PREV"
+       wrt_target "${this_script}${N}" "$PREV"
          process_toolchain "${this_script}" "${file}"
        wrt_touch
        PREV=$this_script
@@ -367,12 +365,11 @@
     if [ "$pkg_tarball" != "" ] ; then
       wrt_unpack2 "$pkg_tarball"
       # If the testsuites must be run, initialize the log file
+      # butterfly-toolchain tests are enabled in 'process_tookchain' function
       case $name in
-        glibc )
-          [[ "$TEST" != "0" ]] && wrt_test_log2 "${this_script}"
+        glibc ) [[ "$TEST" != "0" ]] && wrt_test_log2 "${this_script}"
           ;;
-        * )
-          [[ "$TEST" = "2" ]] || [[ "$TEST" = "3" ]] && wrt_test_log2 "${this_script}"
+	    * ) [[ "$TEST"  = "2" ]] && [[ "$TEST"  = "3" ]] && wrt_test_log2 "${this_script}"
           ;;
       esac
       # If using optimizations, write the instructions




More information about the alfs-log mailing list