test runners main() will always call init_lib() and init_auth()
bk: 557a9d53GrmxgMwf6PkEcLXtbIttdQ
#output.puts("\nu_long current_time = 4; // needed by authkeys. Used only in to calculate lifetime.\n");
output.puts(" progname = argv[0];\n")
-
+ output.puts(" init_lib();\n")
+ output.puts(" init_auth();\n")
output.puts(" suite_setup();") unless @options[:suite_setup].nil?
output.puts(" Unity.TestFile = \"#{filename}\";")
output.puts(" UnityBegin(\"#{filename}\");")
// old code from google test framework, moved to SetUp() for unity
void setUp(void)
{
- //init_lib();
+// init_lib();
+// init_auth(); //causes segfault
/*
* init_auth() is called by tests_main.cpp earlier. It
cache_flags = 0;
cache_secret = NULL;
cache_secretsize = 0;
+
}
void tearDown(void)