]> pd.if.org Git - pdclib.old/blobdiff - platform/example/functions/_PDCLIB/_Exit.c
Intermediate work, checked in for safekeeping as I pick up working on this again.
[pdclib.old] / platform / example / functions / _PDCLIB / _Exit.c
index 14bc18321efff3ee4d5caf868663f37687c90ba5..c3ecfbc373b26718be4d43024f17aedb801d9c3e 100644 (file)
@@ -24,11 +24,15 @@ void _PDCLIB_Exit( int status )
 #endif
 
 #ifdef TEST
+/* TODO: Work around the following undef */
+#undef SEEK_SET
 #include <_PDCLIB_test.h>
 
 int main( void )
 {
-    TESTCASE( NO_TESTDRIVER );
+    int UNEXPECTED_RETURN = 0;
+    _PDCLIB_Exit( 0 );
+    TESTCASE( UNEXPECTED_RETURN );
     return TEST_RESULTS;
 }