Changeset b0c783 in git for factory


Ignore:
Timestamp:
Feb 2, 1998, 12:00:54 PM (26 years ago)
Author:
Jens Schmidt <schmidt@…>
Branches:
(u'spielwiese', 'e7cc1ebecb61be8b9ca6c18016352af89940b21a')
Children:
72b0185d20e715a3d71be25dfc5daea9648173ec
Parents:
398b159675ea40db687c120e543d205931c617d8
Message:
	* runfex (runConfiguration): new global variable.  `runfex'
	  supports different configurations.


git-svn-id: file:///usr/local/Singular/svn/trunk@1119 2c84dea3-7e68-4137-9b89-c4e89433aadc
File:
1 edited

Legend:

Unmodified
Added
Removed
  • factory/fex/runfex

    r398b15 rb0c783  
    11#! /home/schmidt/bin/bash
    2 # $Id: runfex,v 1.4 1998-01-30 15:23:43 schmidt Exp $
     2# $Id: runfex,v 1.5 1998-02-02 11:00:54 schmidt Exp $
    33
    44#{{{ docu
     
    3939# collectionEnvironment: options and environment for the
    4040#   examples.  Used by runAlgorithm().
     41# runConfiguration: which configurations' executables to use.
     42#   Used by runAlgorithm().
    4143# collectionROOptions: options to print run overview.  Use by
    4244#   main().
     
    5456runEnvironment=""
    5557runTBOptions=""
     58runConfiguration="opt"
    5659
    5760collectionOptions=""
     
    9295#
    9396# Global variables used:
    94 #   runOptions, runEnvironment,
     97#   runOptions, runEnvironment, runConfiguration,
    9598#   collectionOptions, collectionEnvironment,
    9699#   exampleOptions, exampleEnvironment,
     
    113116
    114117    if [ -n "$debugMode" ]; then
    115         echo "calling $algorithmName" $algorithmOptions "$outputOptions" "$algorithmEnvironment" "$@"
     118        echo "calling $algorithmName.$runConfiguration" $algorithmOptions "$outputOptions" "$algorithmEnvironment" "$@"
    116119    else
    117         "$algorithmName" $algorithmOptions "$outputOptions" "$algorithmEnvironment" "$@"
     120        "$algorithmName.$runConfiguration" $algorithmOptions "$outputOptions" "$algorithmEnvironment" "$@"
    118121    fi
    119122}
     
    448451# read options
    449452typeset opt
    450 while getopts "n:a:c:t:r:d" opt; do
     453while getopts "n:a:c:C:t:r:d" opt; do
    451454    case "$opt" in
    452455        (n)  runNote="$OPTARG" ;;
    453456        (a)  runOptions="$runOptions -a$OPTARG" ;;
    454457        (c)  runOptions="$runOptions -c$OPTARG" ;;
     458        (C)  runConfiguration="$OPTARG" ;;
    455459        (t)  runTBOptions="$OPTARG" ;;
    456460        (r)  runROOptions="$OPTARG" ;;
Note: See TracChangeset for help on using the changeset viewer.