Skip to content

Commit 78b67b9

Browse files
committedApr 11, 2023
Skip non-available function on earlier GEOS
1 parent 751c4a9 commit 78b67b9

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed
 

‎tests/src/core/testqgsexpression.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5769,6 +5769,11 @@ class TestQgsExpression: public QObject
57695769
const HelpTextHash &functionHelp = QgsExpression::functionHelpTexts();
57705770
for ( auto helpIt = functionHelp.constBegin(); helpIt != functionHelp.constEnd(); ++ helpIt )
57715771
{
5772+
#if GEOS_VERSION_MAJOR == 3 && GEOS_VERSION_MINOR<11
5773+
if ( helpIt->mName == QLatin1String( "concave_hull" ) )
5774+
continue;
5775+
#endif
5776+
57725777
for ( auto variantIt = helpIt->mVariants.constBegin(); variantIt != helpIt->mVariants.constEnd(); ++variantIt )
57735778
{
57745779
for ( const HelpExample &example : std::as_const( variantIt->mExamples ) )

0 commit comments

Comments
 (0)
Please sign in to comment.