This is an automated email from the ASF dual-hosted git repository. tuhaihe pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/cloudberry.git
commit c7b54068e3873571ecb3c605096b61c7fbbd5ef5 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]
