]> pd.if.org Git - pdclib/blobdiff - opt/nothread/cnd_signal.c
Unit tests
[pdclib] / opt / nothread / cnd_signal.c
index ca6a7891f06268eb8c5b02ef114e8c5a1e077464..05cbcf6ba0059c0f2fe6ab51826a9aee2fc55af0 100644 (file)
@@ -3,4 +3,14 @@
 int cnd_signal(cnd_t *cond)\r
 {\r
        return thrd_success;\r
-}
\ No newline at end of file
+}\r
+\r
+#ifdef TEST\r
+#include <_PDCLIB_test.h>\r
+\r
+int main( void )\r
+{\r
+    return TEST_RESULTS;\r
+}\r
+\r
+#endif
\ No newline at end of file