test: fix crash when printing debug messages
This fixes commit 6cbeb107db
.
This commit is contained in:
parent
17f32c266e
commit
1872d4d195
1 changed files with 4 additions and 0 deletions
|
@ -64,8 +64,12 @@ main(int argc, char **argv)
|
||||||
printf("Testing %-30s ", test_name);
|
printf("Testing %-30s ", test_name);
|
||||||
fflush(stdout);
|
fflush(stdout);
|
||||||
|
|
||||||
|
LOG_Initialise();
|
||||||
|
|
||||||
test_unit();
|
test_unit();
|
||||||
|
|
||||||
|
LOG_Finalise();
|
||||||
|
|
||||||
printf("PASS\n");
|
printf("PASS\n");
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
|
Loading…
Reference in a new issue