~elly/build

a18ff7f8423c8f8b336f0d5910d71d57ec98e02c — Elly Fong-Jones 4 months ago 58571b9 main
be noisy when build or tests fail
1 files changed, 14 insertions(+), 1 deletions(-)

M build.c
M build.c => build.c +14 -1
@@ 247,7 247,20 @@ main(int argc, char *argv[], char *envp[]) {
	/* graph_print(&g, stdout); */
	Buildconf bc;
	buildconf_init(&bc, argc, argv, envp);
	return graph_build(&g, &bc) || run_tests(&g, &bc);

	int br = graph_build(&g, &bc);
	if (br) {
		fprintf(stderr, "build failed\n");
		return br;
	}

	int tr = run_tests(&g, &bc);
	if (tr) {
		fprintf(stderr, "tests failed\n");
		return tr;
	}

	return 0;
}

/* Less interesting data structure manipulation and such down here: */