5 echo "usage: $0 [other_git_tree...] [--] [test_scripts]"
16 if test $# -eq 0; then
19 echo "=== Running $# tests in ${GIT_TEST_INSTALLED:-this tree} ==="
28 (cd "$(git rev-parse --show-cdup)" && git archive --format=tar $rev) |
29 (cd build/$rev && tar x)
33 cp ../../config.mak build/$rev/config.mak
34 (cd build/$rev && make $GIT_PERF_MAKE_OPTS) ||
35 die "failed to build revision '$mydir'"
41 while test $# -gt 0 -a "$1" != -- -a ! -f "$1"; do
44 if test $# -gt 0 -a "$1" = --; then
47 if [ ! -d "$mydir" ]; then
48 rev=$(git rev-parse --verify "$mydir" 2>/dev/null) ||
49 die "'$mydir' is neither a directory nor a valid revision"
50 if [ ! -d build/$rev ]; then
56 if test "$mydir" = .; then
57 unset GIT_TEST_INSTALLED
59 GIT_TEST_INSTALLED="$mydir/bin-wrappers"
60 export GIT_TEST_INSTALLED
66 while test $# -gt 0 -a "$1" != -- -a ! -f "$1"; do
72 GIT_PERF_AGGREGATING_LATER=t
73 export GIT_PERF_AGGREGATING_LATER
76 . ../../GIT-BUILD-OPTIONS
78 if test $# = 0 -o "$1" = -- -o -f "$1"; then