This way assert output will be a line by itself, which is easier to read
and lets editors such as emacs step through failed assertions.
pass = 0;
for (t = &__start_test_section; t < &__stop_test_section; t++) {
- fprintf(stderr, "running \"%s\"... ", t->name);
pid = fork();
assert(pid >= 0);
if (pid == 0) {
abort();
}
+ fprintf(stderr, "test \"%s\"... ", t->name);
switch (info.si_code) {
case CLD_EXITED:
fprintf(stderr, "exit status %d\n", info.si_status);