Add missing UNITTESTS

There is no need for test functions to be build in normal code.
pull/758/head
Eric Leblond 13 years ago committed by Victor Julien
parent 98e4a14f6d
commit e5e390a0c6

@ -99,6 +99,7 @@ char *SCRuleVarsGetConfVar(const char *conf_var_name,
/**********************************Unittests***********************************/ /**********************************Unittests***********************************/
#ifdef UNITTESTS
static const char *dummy_conf_string = static const char *dummy_conf_string =
"%YAML 1.1\n" "%YAML 1.1\n"
@ -421,6 +422,8 @@ end:
return result; return result;
} }
#endif /* UNITTESTS */
void SCRuleVarsRegisterTests(void) void SCRuleVarsRegisterTests(void)
{ {

Loading…
Cancel
Save