Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 7c6a917

Browse files
committed
CI scripts:Let run_install_check accept arguments
1 parent d1fbad7 commit 7c6a917

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.ci/run_install_check

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,13 @@ export PGPORT
1919
./.ci/make_test_base $PGDATA
2020
#run checks
2121
set +e
22+
if [ -z "$1" ]; then
2223
make installcheck-world prefix=`pwd`/tmp_install NO_LOCALE=1
24+
else
25+
dir=$1
26+
shift
27+
make -C "$dir" installcheck prefix=`pwd`/tmp_install NO_LOCALE=1 ${@:+"$@"}
28+
fi
2329
code=$?
2430
pg_ctl stop -D $PGDATA
2531
exit $code

0 commit comments

Comments
 (0)