Skip to content

Commit 0e42093

Browse files
authored
build: Fix Makefile wrapper to properly quote test regex (#5146)
This fixes a longstanding issue where saying make test TEST="foo|bar" would be malformed, instead of running tests that matched either foo or bar (misinterpreting the `|` as a pipe). The problem was just not quoting it properly. Signed-off-by: Larry Gritz <lg@larrygritz.com>
1 parent d0429b5 commit 0e42093

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ MY_CMAKE_FLAGS += -DTEX_BATCH_SIZE:STRING="${TEX_BATCH_SIZE}"
159159
endif
160160

161161
ifneq (${TEST},)
162-
TEST_FLAGS += -R ${TEST}
162+
TEST_FLAGS += -R '${TEST}'
163163
endif
164164

165165
ifneq (${USE_CCACHE},)

0 commit comments

Comments
 (0)