diff --git a/testsuite/dejagnu.h b/testsuite/dejagnu.h index 3332c10cc49b61a96e7ad1945fbeaf91030cc2dc..2eb9c37fcdb4b63dd976e5d28e458065669ac236 100644 --- a/testsuite/dejagnu.h +++ b/testsuite/dejagnu.h @@ -23,12 +23,6 @@ #include <stdarg.h> #include <string.h> -#ifdef _DEJAGNU_WAIT_ -# include <sys/time.h> -# include <sys/types.h> -# include <unistd.h> -#endif - #define _BUFFER_SIZE_ 512 static int passed; @@ -38,19 +32,6 @@ static int unresolve; static char buffer[ _BUFFER_SIZE_ ]; -#ifdef _DEJAGNU_WAIT_ -void -wait(void) { - fd_set rfds; - struct timeval tv; - - FD_ZERO(&rfds); - tv.tv_sec = 0; - tv.tv_usec = 1; - - select(0, &rfds, NULL, NULL, &tv); -} -#endif inline void pass (const char* fmt, ... ) { @@ -62,9 +43,6 @@ pass (const char* fmt, ... ) { va_end( ap ); printf ("\tPASSED: %s\n", buffer ); fflush( stdout ); -#ifdef _DEJAGNU_WAIT_ - wait(); -#endif } inline void @@ -77,9 +55,6 @@ fail (const char* fmt, ... ) { va_end( ap ); printf ("\tFAILED: %s\n", buffer ); fflush( stdout ); -#ifdef _DEJAGNU_WAIT_ - wait(); -#endif } inline void @@ -92,9 +67,6 @@ untested (const char* fmt, ... ) { va_end( ap ); printf ("\tUNTESTED: %s\n", buffer ); fflush( stdout ); -#ifdef _DEJAGNU_WAIT_ - wait(); -#endif } inline void @@ -107,9 +79,6 @@ unresolved (const char* fmt, ... ) { va_end( ap ); printf ("\tUNRESOLVED: %s\n", buffer ); fflush( stdout ); -#ifdef _DEJAGNU_WAIT_ - wait(); -#endif } inline void @@ -121,9 +90,6 @@ note (const char* fmt, ... ) { va_end( ap ); printf ("\tNOTE: %s\n", buffer ); fflush( stdout ); -#ifdef _DEJAGNU_WAIT_ - wait(); -#endif } inline void