2 * Copyright 2013, Michael Ellerman, IBM Corp.
3 * Licensed under GPLv2.
6 #ifndef _SELFTESTS_POWERPC_SUBUNIT_H
7 #define _SELFTESTS_POWERPC_SUBUNIT_H
9 static inline void test_start(char *name
)
11 printf("test: %s\n", name
);
14 static inline void test_failure_detail(char *name
, char *detail
)
16 printf("failure: %s [%s]\n", name
, detail
);
19 static inline void test_failure(char *name
)
21 printf("failure: %s\n", name
);
24 static inline void test_error(char *name
)
26 printf("error: %s\n", name
);
29 static inline void test_skip(char *name
)
31 printf("skip: %s\n", name
);
34 static inline void test_success(char *name
)
36 printf("success: %s\n", name
);
39 static inline void test_finish(char *name
, int status
)
47 static inline void test_set_git_version(char *value
)
49 printf("tags: git_version:%s\n", value
);
52 #endif /* _SELFTESTS_POWERPC_SUBUNIT_H */