Home My Page Projects Code Snippets Project Openings diderot
Summary Activity Tracker Tasks SCM

SCM Repository

[diderot] Diff of /tests/rtest/scripts/run_sh.in
ViewVC logotype

Diff of /tests/rtest/scripts/run_sh.in

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 5063, Fri Jul 14 14:56:15 2017 UTC revision 5064, Fri Jul 14 15:34:41 2017 UTC
# Line 70  Line 70 
70  DIDEROTC="@DIDEROTC@"  DIDEROTC="@DIDEROTC@"
71  DIDEROTC_FLAGS=""  DIDEROTC_FLAGS=""
72  RUNTIME_FLAGS=""  RUNTIME_FLAGS=""
73    PARALLEL="no"
74  if [ $# -ne 0 ] ; then  if [ $# -ne 0 ] ; then
75    # first we check for the diderotc command    # first we check for the diderotc command
76    case $1 in    case $1 in
# Line 81  Line 82 
82    while [ $# -ne 0 ] ; do    while [ $# -ne 0 ] ; do
83      case $1 in      case $1 in
84        --) shift; break ;; # switch modes        --) shift; break ;; # switch modes
85          --target=pthread|--target=parallel)
86            PARALLEL=yes
87            DIDEROTC_FLAGS="$DIDEROTC_FLAGS $1"
88          ;;
89        -*) DIDEROTC_FLAGS="$DIDEROTC_FLAGS $1" ;;        -*) DIDEROTC_FLAGS="$DIDEROTC_FLAGS $1" ;;
90        *) echo "unrecognized argument"        *) echo "unrecognized argument"
91          usage 1          usage 1
# Line 125  Line 130 
130    echo "********** $t **********" >> $LOG    echo "********** $t **********" >> $LOG
131    echo -n "checking $t ... " >> $REPORT    echo -n "checking $t ... " >> $REPORT
132    if [ -f Makefile ] ; then    if [ -f Makefile ] ; then
133      echo "make DIDEROTC_FLAGS=$DIDEROTC_FLAGS" >> $LOG      echo "make DIDEROTC_FLAGS=$DIDEROTC_FLAGS PARALLEL=$PARALLEL" >> $LOG
134      make DIDEROTC_FLAGS="$DIDEROTC_FLAGS" 2>> $LOG 1>> $LOG      make DIDEROTC_FLAGS="$DIDEROTC_FLAGS" PARALLEL="$PARALLEL" 2>> $LOG 1>> $LOG
135    else    else
136      echo "$DIDEROTC --exec $DIDEROTC_FLAGS $t.diderot" >> $LOG      echo "$DIDEROTC --exec $DIDEROTC_FLAGS $t.diderot" >> $LOG
137      $DIDEROTC --exec $DIDEROTC_FLAGS $t.diderot 2>> $LOG 1>> $LOG      $DIDEROTC --exec $DIDEROTC_FLAGS $t.diderot 2>> $LOG 1>> $LOG

Legend:
Removed from v.5063  
changed lines
  Added in v.5064

root@smlnj-gforge.cs.uchicago.edu
ViewVC Help
Powered by ViewVC 1.0.0