Skip to content
This repository was archived by the owner on Apr 26, 2024. It is now read-only.

Commit 876986b

Browse files
committed
Fix running complement.sh script.
By reverting changes from #11166 in this script. Specifically commit 13f084e.
1 parent 319dcb9 commit 876986b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

scripts-dev/complement.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
set -e
2525

2626
# Change to the repository root
27-
cd "$(dirname "$0")/.."
27+
cd "$(dirname $0)/.."
2828

2929
# Check for a user-specified Complement checkout
3030
if [[ -z "$COMPLEMENT_DIR" ]]; then
@@ -61,8 +61,8 @@ cd "$COMPLEMENT_DIR"
6161
EXTRA_COMPLEMENT_ARGS=""
6262
if [[ -n "$1" ]]; then
6363
# A test name regex has been set, supply it to Complement
64-
EXTRA_COMPLEMENT_ARGS=(-run "$1")
64+
EXTRA_COMPLEMENT_ARGS+="-run $1 "
6565
fi
6666

6767
# Run the tests!
68-
go test -v -tags synapse_blacklist,msc2946,msc3083,msc2403,msc2716 -count=1 "${EXTRA_COMPLEMENT_ARGS[@]}" ./tests/...
68+
go test -v -tags synapse_blacklist,msc2946,msc3083,msc2403,msc2716 -count=1 $EXTRA_COMPLEMENT_ARGS ./tests/...

0 commit comments

Comments
 (0)