This is an automated email from the ASF dual-hosted git repository. reshke pushed a commit to branch REL_2_STABLE in repository https://gitbox.apache.org/repos/asf/cloudberry.git
commit d5e22ca420fb07fde2e15be5b7c3542ab55c7a77 Author: reshke <[email protected]> AuthorDate: Sun May 24 05:38:24 2026 +0000 Adapt cloubderry mock generator for pg_noinline function attribute --- src/test/unit/mock/mocker.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/unit/mock/mocker.py b/src/test/unit/mock/mocker.py index ae18f3a7218..3913b123138 100755 --- a/src/test/unit/mock/mocker.py +++ b/src/test/unit/mock/mocker.py @@ -24,7 +24,7 @@ class CFile(object): # function pattern func_pat = re.compile( # modifier - r'(?:(static|inline|__inline__|__inline)\s+)*' + + r'(?:(static|inline|__inline__|pg_noinline|__inline)\s+)*' + # rettype r'((?:const\s+)?(?:struct\s+|unsigned\s+)?\w+(?:[\s\*]+|\s+))(?:inline\s+|static\s+)?' + # funcname --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
