Skip to content

Commit

Permalink
Run bringup and takedown for every test.
Browse files Browse the repository at this point in the history
  • Loading branch information
kr committed Dec 15, 2008
1 parent 00503c2 commit ed0e6b3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cutgen.c
Expand Up @@ -310,11 +310,11 @@ void EmitUnitTesterBody()
BlankLine();

for (group = test_groups; group; group = group->next) {
EmitBringup(1, group->bringup);
for (test = group->tests; test; test = test->next) {
EmitTest(2, test->name);
EmitBringup(1, group->bringup);
EmitTest(1, test->name);
EmitTakedown(1, group->takedown);
}
EmitTakedown(1, group->takedown);
}

BlankLine();
Expand Down

0 comments on commit ed0e6b3

Please sign in to comment.