From: Konstantinos Margaritis Date: Thu, 5 Oct 2023 07:40:30 +0000 (+0300) Subject: Don't run regression UE_2595 on debug, it times out CI X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=37edb7093654c62e2c9d7e4fc6a1ec08f5a8cd8f;p=thirdparty%2Fvectorscan.git Don't run regression UE_2595 on debug, it times out CI --- diff --git a/unit/hyperscan/behaviour.cpp b/unit/hyperscan/behaviour.cpp index e8a3078f..f431de79 100644 --- a/unit/hyperscan/behaviour.cpp +++ b/unit/hyperscan/behaviour.cpp @@ -1368,6 +1368,7 @@ TEST(regression, UE_2452) { hs_free_database(db); } +#ifdef NDEBUG TEST(regression, UE_2595) { const char regex[] = "(?:(?:acAa|c[EAA]aEb|((?:CC[bdd].cE((?x-msix)BE){32}(?:\\B)){16,19}CdD.E(E|E|B)){3,6}|E(a|d|.)(?:(?xs-isxm)|b|.|C))){17,}"; unsigned flags = HS_FLAG_MULTILINE | HS_FLAG_CASELESS | @@ -1382,6 +1383,7 @@ TEST(regression, UE_2595) { ASSERT_NE(nullptr, db); hs_free_database(db); } +#endif TEST(regression, UE_2762) { const vector patterns = {