Changeset 1095 in svn for trunk/devel/run


Ignore:
Timestamp:
2012-07-31T18:21:50+02:00 (3 years ago)
Author:
Xuefer
Message:

prepare is now a Makefile

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/devel/run

    r1062 r1095  
    22# this script is for developers only
    33set -e
     4MAKE=/usr/bin/make
    45
    56. devel/run.cfg
     
    1011case "$type" in
    1112prep*)
    12     exec ./devel/prepare
     13    shift
     14    exec $MAKE -f devel/prepare.mak "$@"
     15    ;;
     16tags)
     17    rm -f tags
     18    shift
     19    exec $MAKE -f devel/prepare.mak tags "$@"
    1320    ;;
    1421dep*)
     
    6067    ;;
    6168xtest)
    62     exec /usr/bin/make -f devel/test.mak
    63     ;;
    64 tags)
    65     exec ./devel/prepare tags
     69    exec $MAKE -f devel/test.mak
    6670    ;;
    6771esac
     
    102106phpize)
    103107    if [[ -r Makefile ]]; then
    104         make xcachesvnclean || true
     108        $MAKE xcachesvnclean || true
    105109    fi
    106110    ;;
     
    146150esac
    147151
    148 LANG=C /usr/bin/make $MAKEOPTS "${MAKEARGS[@]}" 2>&1 \
     152LANG=C $MAKE $MAKEOPTS "${MAKEARGS[@]}" 2>&1 \
    149153| sed -ur \
    150154    -e 's#Werror=implicit-function-declaration#We/rror=i/mplicit-function-declaration#' \
     
    207211    ;;
    208212retest)
    209     exec make xcachetest "$@" TESTS="`grep '^/.*\.phpt$' php_test_results_*.txt | uniq | xargs`"
     213    exec $MAKE xcachetest "$@" TESTS="`grep '^/.*\.phpt$' php_test_results_*.txt | uniq | xargs`"
    210214    ;;
    211215test)
    212216    case "${args[0]}" in
    213217    *.phpt)
    214         exec make xcachetest TEST_ARGS=-v TESTS="${args[*]}"
     218        exec $MAKE xcachetest TEST_ARGS=-v TESTS="${args[*]}"
    215219        ;;
    216220    */)
    217         exec make xcachetest TESTS="${args[@]}"
     221        exec $MAKE xcachetest TESTS="${args[@]}"
    218222        ;;
    219223    *)
    220         exec make xcachetest
     224        exec $MAKE xcachetest
    221225        ;;
    222226    esac
Note: See TracChangeset for help on using the changeset viewer.