Fix app manager install atomics app issue and optimize workload scripts (#458)
This commit is contained in:
@ -8,13 +8,9 @@
|
||||
|
||||
#define bh_assert(v) do { \
|
||||
if (!(v)) { \
|
||||
int _count; \
|
||||
printf("\nASSERTION FAILED: %s, at %s, line %d\n", \
|
||||
#v, __FILE__, __LINE__); \
|
||||
_count = printf(" "); \
|
||||
/* divived by 0 to make it abort */ \
|
||||
printf("%d\n", _count / (_count - 1)); \
|
||||
while (1); \
|
||||
abort(); \
|
||||
} \
|
||||
} while (0)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user