Skip to content

Commit

Permalink
force debug
Browse files Browse the repository at this point in the history
  • Loading branch information
DmitriyMusatkin committed Jan 5, 2024
1 parent fd1fa84 commit e7f622c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cmake/AwsTestHarness.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ function(generate_test_driver driver_exe_name)
add_executable(${driver_exe_name} ${CMAKE_CURRENT_BINARY_DIR}/test_runner.c ${TESTS})
aws_set_common_properties(${driver_exe_name} NO_WEXTRA NO_PEDANTIC)

set(CMAKE_BUILD_TYPE "DEBUG" CACHE STRING "Default build type: DEBUG" FORCE)

# Some versions of CMake (3.9-3.11) generate a test_runner.c file with
# a strncpy() call that triggers the "stringop-overflow" warning in GCC 8.1+
# This warning doesn't exist until GCC 7 though, so test for it before disabling.
Expand Down

0 comments on commit e7f622c

Please sign in to comment.