CMake/Tests/CTestTestTimeout/timeout.c

16 lines
169 B
C
Raw Normal View History

2009-10-02 01:21:28 +04:00
#if defined(_WIN32)
# include <windows.h>
#else
# include <unistd.h>
#endif
int main(void)
{
#if defined(_WIN32)
Sleep(5000);
#else
sleep(5);
#endif
return -1;
}