Преглед на файлове

Merge pull request #4864 from ghalliday/regresscores

HPCC-10071 Allow eclcc regression suite cores to be configured

Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
Richard Chapman преди 11 години
родител
ревизия
54e81e9eae
променени са 1 файла, в които са добавени 7 реда и са изтрити 1 реда
  1. 7 1
      ecl/regress/regress.sh

+ 7 - 1
ecl/regress/regress.sh

@@ -53,11 +53,14 @@ if [[ $1 = '' ]]; then
     echo
     echo " * -q can be used to run/rerun a single query"
     echo " * -l is used to generate a detailed log for debugging"
+    echo " * -p changes the number of parallel compiles"
+    echo " * -f allows you to add a debug option"
+    echo " * -x allows you to pass through an arbitrary option"
     echo
     exit -1
 fi
 if [[ $* != '' ]]; then
-    while getopts "t:c:I:e:d:f:q:l:x:v" opt; do
+    while getopts "t:c:I:e:d:f:q:l:p:x:v" opt; do
         case $opt in
             t)
                 target_dir=$OPTARG
@@ -86,6 +89,9 @@ if [[ $* != '' ]]; then
             x)
                 userflags="$userflags $OPTARG"
                 ;;
+            p)
+                np="$OPTARG"
+                ;;
             v)
                	valgrind="valgrind --leak-check=full --suppressions=suppressions.txt "
                	eclcc="$valgrind $eclcc"