Disable expensive unittests that don't really test anything.

remotes/origin/master-1.1.x
Victor Julien 15 years ago
parent 7abf3a2123
commit 21c8d27300

@ -2118,7 +2118,7 @@ static int B2gcTestSearch21 (void) {
}
#endif /* UNITTESTS */
//#if 0
#if 0
static int B2gcTestSearchXX (void) {
MpmCtx mpm_ctx;
memset(&mpm_ctx, 0x00, sizeof(MpmCtx));
@ -2833,7 +2833,7 @@ static int B2gcTestSearchXX (void) {
return 1;
}
//#endif
#endif
void B2gcRegisterTests(void) {
#ifdef UNITTESTS
@ -2874,8 +2874,8 @@ void B2gcRegisterTests(void) {
UtRegisterTest("B2gcTestSearch20", B2gcTestSearch20, 1);
UtRegisterTest("B2gcTestSearch21", B2gcTestSearch21, 1);
/*
*/
UtRegisterTest("B2gcTestSearchXX", B2gcTestSearchXX, 1);
*/
#endif /* UNITTESTS */
}

@ -1970,7 +1970,7 @@ static int B2gmTestSearch21 (void) {
}
#endif /* UNITTESTS */
//#if 0
#if 0
static int B2gmTestSearchXX (void) {
MpmCtx mpm_ctx;
memset(&mpm_ctx, 0x00, sizeof(MpmCtx));
@ -2686,7 +2686,7 @@ static int B2gmTestSearchXX (void) {
return 1;
}
//#endif
#endif
void B2gmRegisterTests(void) {
#ifdef UNITTESTS
@ -2723,7 +2723,9 @@ void B2gmRegisterTests(void) {
UtRegisterTest("B2gmTestSearch19", B2gmTestSearch19, 1);
UtRegisterTest("B2gmTestSearch20", B2gmTestSearch20, 1);
UtRegisterTest("B2gmTestSearch21", B2gmTestSearch21, 1);
/*
UtRegisterTest("B2gmTestSearchXX", B2gmTestSearchXX, 1);
*/
#endif /* UNITTESTS */
}

Loading…
Cancel
Save