mirror of https://github.com/wolfSSL/wolfTPM.git
test: flush before abort to get errors to log
parent
e0d4aba037
commit
52f3972d3f
|
@ -47,6 +47,7 @@
|
|||
printf("\nERROR - %s line %d failed with:", __FILE__, __LINE__); \
|
||||
printf("\n expected: "); printf description; \
|
||||
printf("\n result: "); printf result; printf("\n\n"); \
|
||||
fflush(stdout); \
|
||||
XABORT(); \
|
||||
} while(0)
|
||||
#define Assert(test, description, result) if (!(test)) Fail(description, result)
|
||||
|
|
Loading…
Reference in New Issue