]> pd.if.org Git - pdclib/blobdiff - opt/nothread/thrd_yield.c
Unit tests
[pdclib] / opt / nothread / thrd_yield.c
index 8c7863f643f27e1e7319c41cbae70cd1cdd5d051..840157bdaf2441cb7f80fff871ecf7f3283139a4 100644 (file)
@@ -3,4 +3,14 @@
 void thrd_yield(void)\r
 {\r
        /* does nothing */\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