MCPcopy Create free account
hub / github.com/corosync/corosync / main

Function main

test/testsam.c:1424–1446  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1422}
1423
1424int main(int argc, char *argv[])
1425{
1426 int all_passed = 1;
1427 int no_skipped = 0;
1428
1429 setlinebuf(stdout);
1430
1431 run_test("basics", test_basics, 0, &all_passed, &no_skipped);
1432 run_test("signal", test_signal, 0, &all_passed, &no_skipped);
1433 run_test("smoke", test_smoke, 0, &all_passed, &no_skipped);
1434 run_test("data_store/restore", test_data_store_restore, 0, &all_passed, &no_skipped);
1435 run_test("hc", test_hc, 0, &all_passed, &no_skipped);
1436 run_test("warn_signal", test_warn_signal, 0, &all_passed, &no_skipped);
1437 run_test("quorum", test_quorum, 1, &all_passed, &no_skipped);
1438 run_test("finalize deadlock", test_finalize_deadlock, 0, &all_passed, &no_skipped);
1439 run_cmap_test("cmap quit", test_cmap_quit, 3, &all_passed, &no_skipped);
1440 run_cmap_test("cmap restart", test_cmap_restart, 2, &all_passed, &no_skipped);
1441
1442 if (all_passed)
1443 fprintf (stderr, "All tests passed (%d skipped)\n", no_skipped);
1444
1445 return (all_passed ? 0 : 1);
1446}

Callers

nothing calls this directly

Calls 2

run_testFunction · 0.85
run_cmap_testFunction · 0.85

Tested by

no test coverage detected