Meta/Make: pass --no-prove and --long down thru Dothem to Make
Junio C Hamano committed
Dec 22, 2016 at 15:21 UTC
d4ebbfcb6eaa336c1ddf996725bbbe97193dc298
2 files changed
+9
-3
Dothem
+5
-3
@@ -16,12 +16,13 @@ inst_prefix=$(
16
echo $HOME
17
)
18
19
-force= with_dash= M= install= nodoc= notest= bootstrap= branches= jobs=
20
-scratch=
19
+force= with_dash= test_long= M= install= nodoc= notest= bootstrap= branches= jobs=
20
+scratch= noprove=
21
while case "$1" in
22
--pedantic | --locale=* | --loose) M="$M $1" ;;
23
--force) force=$1 ;;
24
--dash) with_dash=y ;;
25
+ --long) test_long=--long ;;
26
--noinstall) install=noinstall ;;
27
--nodoc) nodoc=y ;;
28
--notest) notest=y ;;
@@ -30,6 +31,7 @@ while case "$1" in
31
--bootstrap) bootstrap=y ;;
32
--base=*) BUILDBASE=${1#*=} ;;
33
--branches=*) branches=${1#*=} ;;
34
+ --noprove) noprove=$1 ;;
35
-j*) jobs=$1 ;;
36
--) shift; break ;;
37
-*) echo >&2 "Unknown option: $1"; exit 1 ;;
@@ -194,7 +196,7 @@ do
196
197
save=$(git rev-parse HEAD) &&
198
197
- Meta/Make $M ${test+"$test"} $jobs --memtrash \
199
+ Meta/Make $M $noprove ${test+"$test"} $jobs $test_long --memtrash \
200
-- ${with_dash:+SHELL_PATH=/bin/dash} "$@" $dotest &&
201
202
{
Make
+4
@@ -149,6 +149,10 @@ do
149
done | tr '\012' ' '
150
)
151
;;
152
+ --long)
153
+ GIT_TEST_LONG=YesPlease
154
+ export GIT_TEST_LONG
155
+ ;;
156
--dash)
157
with_dash=y
158
;;