#ifndef __RUNTEST_h__ #define __RUNTEST_h__ #include 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: