Changeset 2036


Ignore:
Timestamp:
Aug 22, 2009, 6:48:52 PM (11 years ago)
Author:
Peter
Message:

refs #557. support VERBOSE also in shell tests

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/common_defs.sh.in

    r1983 r2036  
    3737    case "$1" in
    3838    -v)
    39     YAT_TEST_VERBOSE=1
     39    VERBOSE=1
    4040    ;;
    4141    esac
     
    4343done
    4444
    45 if test -z "$YAT_TEST_VERBOSE"; then
     45if test -n "$YAT_TEST_VERBOSE"; then
     46  VERBOSE=YAT_TEST_VERBOSE;
     47  echo "WARNING: environment variable \`YAT_TEST_VERBOSE' is deprecated;";
     48  echo "  use \`VERBOSE' instead.";
     49fi
     50
     51if test -z "$VERBOSE"; then
    4652  exec > /dev/null 2>&1
    4753fi
Note: See TracChangeset for help on using the changeset viewer.