You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
312 B
19 lines
312 B
#ifndef __RUNTEST_h__
|
|
#define __RUNTEST_h__
|
|
|
|
#include <sys/types.h>
|
|
|
|
|
|
enum RESULT_TYPES {
|
|
TEST_OK=0,
|
|
TEST_FAILED,
|
|
TEST_ERROR
|
|
};
|
|
|
|
typedef int (* testfunc)(void);
|
|
#define FUNCS_COUNT(array) (sizeof((array)) / sizeof(testfunc))
|
|
|
|
extern char testname[];
|
|
|
|
#endif//__RUNTEST_h__
|
|
// vim: set et ts=4 sw=4:
|