Skip to content

Commit 4e4a121

Browse files
committed
chore(linux): Fix bug in ibus-keyman run-tests.sh script
1 parent 9a01607 commit 4e4a121

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

linux/ibus-keyman/tests/scripts/run-tests.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ function run_tests() {
8686
#shellcheck disable=SC2086
8787
"${G_TEST_BUILDDIR:-../../build/$(arch)/${CONFIG}/tests}/ibus-keyman-tests" ${ARG_K-} ${ARG_TAP-} \
8888
${ARG_VERBOSE-} ${ARG_DEBUG-} ${ARG_SURROUNDING_TEXT-} ${ARG_NO_SURROUNDING_TEXT-} \
89-
--directory "$TESTDIR" --"${DISPLAY_SERVER}" ${TESTFILES[@]}
89+
--directory "$TESTDIR" "${DISPLAY_SERVER}" ${TESTFILES[@]}
9090
echo "# Finished tests."
9191

9292
cleanup "$PID_FILE"
@@ -136,9 +136,9 @@ echo > "$PID_FILE"
136136
trap local_cleanup EXIT SIGINT
137137

138138
if [ "$USE_WAYLAND" == "1" ]; then
139-
( run_tests wayland "$@" )
139+
run_tests --wayland "$@"
140140
fi
141141

142142
if [ "$USE_X11" == "1" ]; then
143-
( run_tests x11 "$@" )
143+
run_tests --x11 "$@"
144144
fi

0 commit comments

Comments
 (0)