Don't run regression UE_2595 on debug, it times out CI

This commit is contained in:
Konstantinos Margaritis 2023-10-05 10:40:30 +03:00
parent 35c0711689
commit e369681ce2

View File

@ -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<pattern> patterns = {