Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset 3b065c9 in mainline


Ignore:
Timestamp:
2014-04-24T07:56:12Z (8 years ago)
Author:
Vojtech Horky <vojtechhorky@…>
Branches:
lfn, master
Children:
84b89095
Parents:
e36a1c2
Message:

Easier random-checking of supported configurations

File:
1 edited

Legend:

Unmodified
Added
Removed
  • contrib/tools/random_check.sh

    re36a1c2 r3b065c9  
    3838echo -n "">"$PRUNE_CONFIG_FILE"
    3939
    40 while getopts n:j:x: option; do
     40while getopts n:j:x:sS option; do
    4141        case $option in
    4242        n)
     
    4949                echo "$OPTARG" | tr -d ' ' >>"$PRUNE_CONFIG_FILE"
    5050                ;;
     51        s|S)
     52                echo "COMPILER=gcc_native" >>"$PRUNE_CONFIG_FILE"
     53                echo "COMPILER=gcc_helenos" >>"$PRUNE_CONFIG_FILE"
     54                echo "COMPILER=icc" >>"$PRUNE_CONFIG_FILE"
     55                if [ "$option" = "S" ]; then
     56                        echo "CONFIG_PCC=y" >>"$PRUNE_CONFIG_FILE"
     57                        echo "CONFIG_BINUTILS=y" >>"$PRUNE_CONFIG_FILE"
     58                        echo "CONFIG_MSIM=y" >>"$PRUNE_CONFIG_FILE"
     59                fi
     60                ;;
    5161        *)
    52                 echo "Usage: $0 [-n loops] [-j paralellism] [-x excluded option [-x ...]]"
     62                echo "Usage: $0 [-n loops] [-j paralellism] [-s] [-S] [-x excluded option [-x ...]]"
    5363                exit 1
    5464                ;;
Note: See TracChangeset for help on using the changeset viewer.