1 /***** public prototypes *****/
2 #include "../inc/libtest.h"
10 #define RETURN_SUCCESS 0
11 #define RETURN_FAILURE 1
13 #define BITS_PER_BYTE 8
15 #define LIBTEST_VERSION_STRING "7.1.0"
16 #define LIBTEST_VERSION_INTEGER 710
18 #if( defined KERNEL_MODE )
19 #define MODE_TYPE_STRING "kernel-mode"
22 #if( !defined KERNEL_MODE )
23 #define MODE_TYPE_STRING "user-mode"
26 #if( defined NDEBUG && !defined COVERAGE && !defined TSAN && !defined PROF )
27 #define BUILD_TYPE_STRING "release"
30 #if( !defined NDEBUG && !defined COVERAGE && !defined TSAN && !defined PROF )
31 #define BUILD_TYPE_STRING "debug"
34 #if( !defined NDEBUG && defined COVERAGE && !defined TSAN && !defined PROF )
35 #define BUILD_TYPE_STRING "coverage"
38 #if( !defined NDEBUG && !defined COVERAGE && defined TSAN && !defined PROF )
39 #define BUILD_TYPE_STRING "threadsanitizer"
42 #if( !defined NDEBUG && !defined COVERAGE && !defined TSAN && defined PROF )
43 #define BUILD_TYPE_STRING "profiling"
46 /***** library-wide prototypes *****/