ack/plat/qemuppc/tests/lib/test.h

15 lines
244 B
C
Raw Normal View History

#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