Skip to content

Commit

Permalink
Exclude core.internal.convert from unit testing for now.
Browse files Browse the repository at this point in the history
  • Loading branch information
dnadlinger committed Nov 12, 2014
1 parent a872ace commit 2736d8f
Showing 1 changed file with 13 additions and 7 deletions.
20 changes: 13 additions & 7 deletions runtime/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -744,13 +744,19 @@ endmacro()
function(add_tests d_files runner name_suffix)
foreach(file ${d_files})
file_to_module_name(${file} module)
add_test(NAME "${module}${name_suffix}"
WORKING_DIRECTORY "${PROJECT_BINARY_DIR}"
COMMAND ${runner}-test-runner${name_suffix} ${module}
)
set_tests_properties("${module}${name_suffix}" PROPERTIES
DEPENDS build-${runner}-test-runner${name_suffix}
)
if("${module}" STREQUAL "core.internal.convert")
# Exclude unit tests for now, as they fail due to a CTFE vs. runtime
# issue with floating point numbers. See the discussion on GitHub
# pull request #770. To be revisited after 0.15.0 is out.
else()
add_test(NAME "${module}${name_suffix}"
WORKING_DIRECTORY "${PROJECT_BINARY_DIR}"
COMMAND ${runner}-test-runner${name_suffix} ${module}
)
set_tests_properties("${module}${name_suffix}" PROPERTIES
DEPENDS build-${runner}-test-runner${name_suffix}
)
endif()
endforeach()
endfunction()
function(add_runtime_tests name_suffix)
Expand Down

0 comments on commit 2736d8f

Please sign in to comment.