Changeset 4917 for BOL


Ignore:
Timestamp:
Apr 23, 2024, 11:02:07 AM (8 months ago)
Author:
abarral
Message:

load env from fcm
detect non-critical failures in bench

Location:
BOL/script_install_amaury
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • BOL/script_install_amaury/install_lmdz.sh

    r4914 r4917  
    320320    # check compiler
    321321    compiler=$(< "$fcm_path" grep "%COMPILER" | sed -e "s/%COMPILER\s*//")
     322
     323    # load env
     324    local env_path=${fcm_path/.fcm/.env}
     325    # shellcheck disable=SC1090
     326    if [[ -f $env_path ]]; then source "$env_path"; fi
    322327}
    323328
  • BOL/script_install_amaury/test_compils.sh

    r4914 r4917  
    4141    for xios in "" "-xios"; do
    4242    if [[ $xios = "-xios" && $parallel = "none" ]]; then continue; fi
    43     for lmdzrev in "" "-r 4894"; do
     43    for lmdzrev in "" "-r 4894"; do  # TODO when base lmdz becomes >=4894, change condition for lmdzrev=""
     44        if [[ (! $veget = "none") && ($parallel = "none") && ($(echo "$lmdzrev" | cut -c 4-) -lt 4894) ]]; then continue; fi
    4445        do_one_test
    4546    done
     
    5253function display_results {
    5354    cd "test_logs"
    54     echo "Success=o, Failure=XXX"
     55    echo "Success=o, Failure=XXX, non-breaking error=/!\\"
    5556    echo "INSTALL  BENCH  NAME"
    5657    for fname in *; do
    5758        if [[ $(tail -n 1 -- "$fname") = " Everything is cool" ]]; then
    58             echo "   o       o    $fname"
     59            if grep -q "Error" < "$fname"; then
     60                    echo "   o      /!\\   $fname"
     61                else
     62                    echo "   o       o    $fname"
     63                fi
    5964        else
    6065            if grep -q "EXECUTION DU BENCH" < "$fname"; then
Note: See TracChangeset for help on using the changeset viewer.