]> pd.if.org Git - pdclib/blobdiff - opt/nothread/tss_set.c
Unit tests
[pdclib] / opt / nothread / tss_set.c
index feea85d345b80857af5e2eb12444d58ac00f5404..7de3ec5b775527d66e84f01174ce661a81b4d94a 100644 (file)
@@ -4,4 +4,15 @@ int tss_set(tss_t key, void *val)
 {\r
        key.self->value = val;\r
        return thrd_success;\r
-}
\ No newline at end of file
+}\r
+\r
+#ifdef TEST\r
+#include <_PDCLIB_test.h>\r
+\r
+/* Tested in tss_get.c */\r
+int main( void )\r
+{\r
+    return TEST_RESULTS;\r
+}\r
+\r
+#endif
\ No newline at end of file