File tree 1 file changed +5
-0
lines changed
1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -22,11 +22,15 @@ if(${name} STREQUAL "string_read")
22
22
endif ()
23
23
24
24
add_test (NAME ${tname} COMMAND ${cmd} )
25
+ set_property (TEST ${tname} PROPERTY DISABLED $<AND :$<BOOL :${use_runner} >,$<NOT :$<TARGET_EXISTS:test_runner>>>)
25
26
26
27
endfunction (mpi_test)
27
28
28
29
# --- test files
29
30
31
+ if (APPLE AND "$ENV{GITHUB_ACTIONS} " )
32
+ message (WARNING "Skipping MPI test_runner due to build quirk in GitHub Actions" )
33
+ else ()
30
34
add_executable (test_runner runner.f90
31
35
${PROJECT_SOURCE_DIR} /benchmark/partition.f90
32
36
${PROJECT_SOURCE_DIR} /benchmark/cli.f90
@@ -37,6 +41,7 @@ target_include_directories(test_runner PRIVATE ${PROJECT_SOURCE_DIR}/benchmark)
37
41
if (CMAKE_Fortran_COMPILER_ID MATCHES "^Intel" )
38
42
set_property (TARGET test_runner PROPERTY LINKER_LANGUAGE Fortran)
39
43
endif ()
44
+ endif ()
40
45
41
46
42
47
# --- MPI tests
You can’t perform that action at this time.
0 commit comments