mirror of
https://github.com/git/git.git
synced 2026-03-15 11:10:07 +01:00
Merge branch 'mk/grep-pcre' into next
* mk/grep-pcre: Makefile: Pass USE_LIBPCRE down in GIT-BUILD-OPTIONS git-grep: update tests now regexp type is "last one wins"
This commit is contained in:
1
Makefile
1
Makefile
@@ -2093,6 +2093,7 @@ GIT-BUILD-OPTIONS: FORCE
|
||||
@echo PYTHON_PATH=\''$(subst ','\'',$(PYTHON_PATH_SQ))'\' >>$@
|
||||
@echo TAR=\''$(subst ','\'',$(subst ','\'',$(TAR)))'\' >>$@
|
||||
@echo NO_CURL=\''$(subst ','\'',$(subst ','\'',$(NO_CURL)))'\' >>$@
|
||||
@echo USE_LIBPCRE=\''$(subst ','\'',$(subst ','\'',$(USE_LIBPCRE)))'\' >>$@
|
||||
@echo NO_PERL=\''$(subst ','\'',$(subst ','\'',$(NO_PERL)))'\' >>$@
|
||||
@echo NO_PYTHON=\''$(subst ','\'',$(subst ','\'',$(NO_PYTHON)))'\' >>$@
|
||||
ifdef GIT_TEST_CMP
|
||||
|
||||
@@ -637,20 +637,4 @@ test_expect_success LIBPCRE 'grep -P -w pattern' '
|
||||
test_cmp expected actual
|
||||
'
|
||||
|
||||
test_expect_success LIBPCRE 'grep -P -F returns error' '
|
||||
test_expect_code 128 git grep -P -F main
|
||||
'
|
||||
|
||||
test_expect_success LIBPCRE 'grep -P -E returns error' '
|
||||
test_expect_code 128 git grep -P -E main
|
||||
'
|
||||
|
||||
test_expect_failure LIBPCRE 'grep -P -G returns error' '
|
||||
test_expect_code 128 git grep -P -G main
|
||||
'
|
||||
|
||||
test_expect_failure LIBPCRE 'grep -P -E -G returns error' '
|
||||
test_expect_code 128 git grep -P -E -G main
|
||||
'
|
||||
|
||||
test_done
|
||||
|
||||
Reference in New Issue
Block a user