]> pd.if.org Git - pdclib/blobdiff - opt/notime/time.c
Unit tests
[pdclib] / opt / notime / time.c
index 8f348196c4f9bbf898efa61ac28f225a4d83d535..8826ee9c3158b466d1919dc293ad74b360c7c1ae 100644 (file)
@@ -4,4 +4,14 @@ time_t time(time_t* t)
 {\r
        if(t) *t = -1;\r
        return -1;\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