diff options
author | Brad King <brad.king@kitware.com> | 2023-12-09 13:10:11 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2023-12-09 13:10:38 (GMT) |
commit | 19b631a2edd558b4aaa144a4e1babc7abf378375 (patch) | |
tree | c6ce74ca371bb2dafa8ca618e346286b08547b00 /Tests | |
parent | 11429a761fca30622377e352fb3f6507d2d497ae (diff) | |
parent | 8f53526dec91c8f49e7399131efd6dc4837524dc (diff) | |
download | CMake-19b631a2edd558b4aaa144a4e1babc7abf378375.zip CMake-19b631a2edd558b4aaa144a4e1babc7abf378375.tar.gz CMake-19b631a2edd558b4aaa144a4e1babc7abf378375.tar.bz2 |
Merge topic 'test-gnu-hurd-sleep'
8f53526dec Tests: Do not expect EINTR when sleep is interrupted on GNU/Hurd
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9052
Diffstat (limited to 'Tests')
-rw-r--r-- | Tests/RunCMake/CTestTimeout/TestTimeout.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/RunCMake/CTestTimeout/TestTimeout.c b/Tests/RunCMake/CTestTimeout/TestTimeout.c index 425548c..da397f8 100644 --- a/Tests/RunCMake/CTestTimeout/TestTimeout.c +++ b/Tests/RunCMake/CTestTimeout/TestTimeout.c @@ -45,7 +45,7 @@ int main(void) #if defined(_WIN32) Sleep((TIMEOUT + 4) * 1000); #elif defined(SIGNAL_IGNORE) -# if defined(__CYGWIN__) || defined(__sun__) +# if defined(__CYGWIN__) || defined(__sun__) || defined(__GNU__) # define ERRNO_IS_EINTR (errno == EINTR || errno == 0) # else # define ERRNO_IS_EINTR (errno == EINTR) |