ack/plat/qemuppc/tests/lib/test.h
2016-11-13 13:37:22 +01:00

15 lines
244 B
C

#ifndef TEST_H
#define TEST_H
#include <unistd.h>
#include <stdint.h>
extern void finished(void);
extern void writehex(uint32_t code);
extern void fail(uint32_t code);
#define ASSERT(condition) \
if (!(condition)) fail(__LINE__)
#endif