15 #include <CUnit/CUnit.h>
16 #include <CUnit/Automated.h>
27 #include <interface.h>
29 #include <scheduler.h>
49 if(!testdb && (testdb = getenv(
"FOSSOLOGY_TESTCONFIG")) == NULL)
51 printf(
"ERROR: scheduler unit tests require a test database");
84 {
"InterfaceThread", NULL, NULL, (CU_SetUpFunc)
init_suite, (CU_TearDownFunc)
clean_suite, tests_interface_thread },
95 int main(
int argc,
char *argv[] )
97 #if !GLIB_CHECK_VERSION(2,35,0)
102 return focunit_main(argc, argv,
"scheduler_Tests",
suites);
Header file with agent related operations.
int main(int argc, char *argv[])
main test function
CU_SuiteInfo suites[]
all test suites for delagent
Event handling operations.
The main FOSSology C library.
log_t * log_new(gchar *log_name, gchar *pro_name, pid_t pro_pid)
Creates a new log.
void log_destroy(log_t *log)
Free memory associated with the log file.