Many style updates around asserts, aborts, and errors
This commit is contained in:
@@ -136,6 +136,7 @@ add_executable(test_arena_allocator tests/test_arena_allocator.cpp
|
||||
src/arena_allocator.cpp)
|
||||
target_link_libraries(test_arena_allocator doctest::doctest)
|
||||
target_include_directories(test_arena_allocator PRIVATE src)
|
||||
target_compile_options(test_arena_allocator PRIVATE -UNDEBUG)
|
||||
|
||||
add_executable(
|
||||
test_commit_request
|
||||
@@ -146,6 +147,7 @@ add_dependencies(test_commit_request generate_json_tokens)
|
||||
target_link_libraries(test_commit_request doctest::doctest weaseljson test_data
|
||||
nlohmann_json::nlohmann_json simdutf::simdutf)
|
||||
target_include_directories(test_commit_request PRIVATE src tests)
|
||||
target_compile_options(test_commit_request PRIVATE -UNDEBUG)
|
||||
|
||||
add_executable(
|
||||
test_http_handler
|
||||
@@ -156,6 +158,7 @@ target_link_libraries(test_http_handler doctest::doctest llhttp_static
|
||||
target_include_directories(test_http_handler PRIVATE src)
|
||||
target_compile_definitions(test_http_handler
|
||||
PRIVATE DOCTEST_CONFIG_IMPLEMENT_WITH_MAIN)
|
||||
target_compile_options(test_http_handler PRIVATE -UNDEBUG)
|
||||
|
||||
add_executable(
|
||||
test_server_connection_return
|
||||
@@ -180,6 +183,7 @@ target_link_libraries(
|
||||
target_include_directories(test_server_connection_return PRIVATE src)
|
||||
target_compile_definitions(test_server_connection_return
|
||||
PRIVATE DOCTEST_CONFIG_IMPLEMENT_WITH_MAIN)
|
||||
target_compile_options(test_server_connection_return PRIVATE -UNDEBUG)
|
||||
|
||||
add_executable(bench_arena_allocator benchmarks/bench_arena_allocator.cpp
|
||||
src/arena_allocator.cpp)
|
||||
|
||||
Reference in New Issue
Block a user