static char *list_tests(void *arg)
{
+ init_tests();
print_tests(&compulsory_tests, "Compulsory");
print_tests(&normal_tests, "Normal");
exit(0);
static char *test_dependency_graph(void *arg)
{
+ init_tests();
puts("digraph G {");
test_dgraph_vertices(&compulsory_tests, ", style=filled, fillcolor=yellow");
if (verbose >= 4)
tools_verbose = true;
+ /* This links back to the module's test dir. */
+ testlink = talloc_asprintf(NULL, "%s/test", temp_dir(NULL));
+
/* Defaults to pwd. */
if (argc == 1) {
i = 1;
goto got_dir;
}
- /* This links back to the module's test dir. */
- testlink = talloc_asprintf(NULL, "%s/test", temp_dir(NULL));
-
for (i = 1; i < argc; i++) {
unsigned int score, total_score;
dir = argv[i];