+#ifndef REGTEST\r
#include <threads.h>\r
\r
void *tss_get(tss_t key)\r
{\r
return key.value;\r
}\r
+#endif\r
\r
#ifdef TEST\r
#include <_PDCLIB_test.h>\r
\r
+#ifndef REGTEST\r
static tss_t key;\r
static char v;\r
+#endif\r
\r
int main( void )\r
{\r
+#ifndef REGTEST\r
TESTCASE(tss_create(&key, NULL) == thrd_success);\r
TESTCASE(tss_get(key) == NULL);\r
TESTCASE(tss_set(key, &v) == thrd_success);\r
TESTCASE(tss_get(key) == &v);\r
tss_delete(key);\r
+#endif\r
return TEST_RESULTS;\r
}\r
\r
-#endif
\ No newline at end of file
+#endif\r