Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,4 @@ jobs:

- name: Test
working-directory: ${{github.workspace}}/build
run: ctest -C ${{matrix.build_type}} --output-on-failure
run: ctest -V -C ${{matrix.build_type}} --output-on-failure
3 changes: 1 addition & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(CMAKE_CXX_EXTENSIONS OFF)

enable_cxx_compiler_flag_if_supported(-pedantic)
enable_cxx_compiler_flag_if_supported(-ggdb)
#enable_cxx_compiler_flag_if_supported(-ggdb)

if(MSVC)
add_compile_options(-Zc:__cplusplus)
Expand All @@ -45,4 +45,3 @@ if (BUILD_TESTING)
enable_testing()
add_subdirectory(test)
endif(BUILD_TESTING)

2 changes: 1 addition & 1 deletion test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ function(cxx_test source)
message(STATUS "runtime = ${RUNTIME_OUTPUT_DIRECTORY}")
# this is only a gcc option
#set_target_properties(${target} PROPERTIES COMPILE_FLAGS "-Wno-effc++")
add_test(NAME ${target} COMMAND ${RUNTIME_OUTPUT_DIRECTORY}/${target})
add_test(NAME ${target} COMMAND ${RUNTIME_OUTPUT_DIRECTORY}/${target} -v)
#add_custom_command(TARGET test_all
# COMMAND $<TARGET_FILE:${target}>
#)
Expand Down