Changeset 28f4756 for common


Ignore:
Timestamp:
08/05/2006 02:51:11 PM (18 years ago)
Author:
Manuel Canales Esparcia <manuel@…>
Branches:
2.3, 2.3.x, 2.4, ablfs, ablfs-more, legacy, new_features, trunk
Children:
963fdae
Parents:
1e69324
Message:

Added config option to allow to bommb in test suites faiures.

Location:
common
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • common/common-functions

    r1e69324 r28f4756  
    728728                 --stringparam method $METHOD \
    729729                 --stringparam testsuite $TEST \
     730                 --stringparam bomb-testsuite $BOMB_TEST \
    730731                 --stringparam vim-lang $VIMLANG \
    731732                 --stringparam timezone $TIMEZONE \
     
    741742                 --xinclude \
    742743                 --stringparam testsuite $TEST \
     744                 --stringparam bomb-testsuite $BOMB_TEST \
    743745                 --stringparam vim-lang $VIMLANG \
    744746                 --stringparam timezone $TIMEZONE \
     
    754756                 --stringparam model $MODEL \
    755757                 --stringparam testsuite $TEST \
     758                 --stringparam bomb-testsuite $BOMB_TEST \
    756759                 --stringparam timezone $TIMEZONE \
    757760                 --stringparam page $PAGE \
     
    767770                 --xinclude \
    768771                 --stringparam testsuite $TEST \
     772                 --stringparam bomb-testsuite $BOMB_TEST \
    769773                 --stringparam vim-lang $VIMLANG \
    770774                 --stringparam timezone $TIMEZONE \
  • common/config

    r1e69324 r28f4756  
    5252TEST=1
    5353
     54#--- Bomb on test suites failures?
     55#  0 = no, I want to build the full system and review the logs
     56#  1 = yes, bomb at the first test suite failure to can review the build dir
     57BOMB_TEST=0
     58
    5459#--- Run the stripping phases  0(no)/1(yes)
    5560STRIP=1
  • common/func_validate_configs.sh

    r1e69324 r28f4756  
    8787
    8888  # First internal variables, then the ones that change the book's flavour, and lastly system configuration variables
    89   local -r  hlfs_PARAM_LIST="BOOK BUILDDIR SRC_ARCHIVE GETPKG RUNMAKE MODEL GRSECURITY_HOST TEST OPTIMIZE REPORT COMPARE RUN_ICA RUN_FARCE ITERATIONS STRIP FSTAB             CONFIG GETKERNEL KEYMAP         PAGE TIMEZONE LANG LC_ALL"
    90   local -r  clfs_PARAM_LIST="BOOK BUILDDIR SRC_ARCHIVE GETPKG RUNMAKE METHOD  ARCH  TARGET  TEST OPTIMIZE REPORT COMPARE RUN_ICA RUN_FARCE ITERATIONS STRIP FSTAB BOOT_CONFIG CONFIG GETKERNEL KEYMAP VIMLANG PAGE TIMEZONE LANG"
    91   local -r clfs2_PARAM_LIST="BOOK BUILDDIR SRC_ARCHIVE GETPKG RUNMAKE         ARCH  TARGET       OPTIMIZE REPORT COMPARE RUN_ICA RUN_FARCE ITERATIONS STRIP FSTAB             CONFIG GETKERNEL KEYMAP VIMLANG PAGE TIMEZONE LANG"
    92   local -r   lfs_PARAM_LIST="BOOK BUILDDIR SRC_ARCHIVE GETPKG RUNMAKE                       TEST OPTIMIZE REPORT COMPARE RUN_ICA RUN_FARCE ITERATIONS STRIP FSTAB             CONFIG GETKERNEL        VIMLANG PAGE TIMEZONE LANG"
     89  local -r  hlfs_PARAM_LIST="BOOK BUILDDIR SRC_ARCHIVE GETPKG RUNMAKE MODEL GRSECURITY_HOST TEST BOMB_TEST OPTIMIZE REPORT COMPARE RUN_ICA RUN_FARCE ITERATIONS STRIP FSTAB             CONFIG GETKERNEL KEYMAP         PAGE TIMEZONE LANG LC_ALL"
     90  local -r  clfs_PARAM_LIST="BOOK BUILDDIR SRC_ARCHIVE GETPKG RUNMAKE METHOD  ARCH  TARGET  TEST BOMB_TEST OPTIMIZE REPORT COMPARE RUN_ICA RUN_FARCE ITERATIONS STRIP FSTAB BOOT_CONFIG CONFIG GETKERNEL KEYMAP VIMLANG PAGE TIMEZONE LANG"
     91  local -r clfs2_PARAM_LIST="BOOK BUILDDIR SRC_ARCHIVE GETPKG RUNMAKE         ARCH  TARGET                 OPTIMIZE REPORT COMPARE RUN_ICA RUN_FARCE ITERATIONS STRIP FSTAB             CONFIG GETKERNEL KEYMAP VIMLANG PAGE TIMEZONE LANG"
     92  local -r   lfs_PARAM_LIST="BOOK BUILDDIR SRC_ARCHIVE GETPKG RUNMAKE                       TEST BOMB_TEST OPTIMIZE REPORT COMPARE RUN_ICA RUN_FARCE ITERATIONS STRIP FSTAB             CONFIG GETKERNEL        VIMLANG PAGE TIMEZONE LANG"
    9393
    9494  local -r ERROR_MSG_pt1='The variable \"${L_arrow}${config_param}${R_arrow}\" value ${L_arrow}${BOLD}${!config_param}${R_arrow} is invalid,'
     
    206206      ITERATIONS) [[ "$COMPARE" = "1" ]] && validate_against_str "x2x x3x x4x x5x" ;;
    207207      TEST)       validate_against_str "x0x x1x x2x x3x" ;;
     208      BOMB_TEST)  [[ ! "$TEST" = "0" ]] && validate_against_str "x0x x1x" ;;
    208209      OPTIMIZE)   validate_against_str "x0x x1x x2x" ;;
    209210      STRIP)      validate_against_str "x0x x1x" ;;
Note: See TracChangeset for help on using the changeset viewer.