mirror of
https://github.com/VectorCamp/vectorscan.git
synced 2025-11-16 01:12:15 +03:00
Reduce unit test runtimes dramatically for debug builds
This commit is contained in:
committed by
Konstantinos Margaritis
parent
0c51d60392
commit
71374eea1d
@@ -235,7 +235,11 @@ static const unsigned test_modes[] = {HS_MODE_BLOCK, HS_MODE_STREAM,
|
||||
static const unsigned test_flags[] = {0, HS_FLAG_SINGLEMATCH,
|
||||
HS_FLAG_SOM_LEFTMOST};
|
||||
|
||||
#ifdef NDEBUG
|
||||
static const unsigned test_sizes[] = {1, 10, 100, 500, 10000};
|
||||
#else
|
||||
static const unsigned test_sizes[] = {1, 10, 100, 500};
|
||||
#endif
|
||||
|
||||
static const pair<unsigned, unsigned> test_bounds[] = {{3u, 10u}, {10u, 100u}};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user