Skip to content

Commit 19677ab

Browse files
committed
disable use of non-standard sleep()
1 parent 1db2192 commit 19677ab

File tree

1 file changed

+10
-8
lines changed

1 file changed

+10
-8
lines changed

test/sleep/CMakeLists.txt

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,17 @@
11
set_property(DIRECTORY PROPERTY LABELS sleep)
22

3-
add_executable(fortran_sleep ticks.f90)
4-
add_test(NAME Fortran_sleep COMMAND fortran_sleep)
3+
# ticks uses non-standard sleep() subroutine; disabled for now
54

6-
if(CMAKE_Fortran_COMPILER_ID STREQUAL "LLVMFlang")
7-
set(bad_ticks true)
8-
else()
9-
set(bad_ticks false)
10-
endif()
5+
# add_executable(fortran_sleep ticks.f90)
6+
# add_test(NAME Fortran_sleep COMMAND fortran_sleep)
7+
8+
# if(CMAKE_Fortran_COMPILER_ID STREQUAL "LLVMFlang")
9+
# set(bad_ticks true)
10+
# else()
11+
# set(bad_ticks false)
12+
# endif()
1113

12-
set_property(TEST Fortran_sleep PROPERTY DISABLED ${bad_ticks})
14+
# set_property(TEST Fortran_sleep PROPERTY DISABLED ${bad_ticks})
1315

1416
add_library(f_sleep OBJECT ${PROJECT_SOURCE_DIR}/src/sleep/sleep_std.f90)
1517

0 commit comments

Comments
 (0)