Skip to content

Commit

Permalink
Another attempt to understand why rnp_tests aborts.
Browse files Browse the repository at this point in the history
  • Loading branch information
ni4 committed Jan 12, 2024
1 parent fa5a40e commit 4154632
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions src/tests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -218,11 +218,16 @@ if (NOT CMAKE_CXX_COMPILER_ID MATCHES "Clang" OR CMAKE_CXX_COMPILER_VERSION VERS
set_target_properties(rnp_tests PROPERTIES CXX_VISIBILITY_PRESET hidden)
endif()

gtest_discover_tests(rnp_tests
PROPERTIES
FIXTURES_REQUIRED testdata
TIMEOUT 3000
ENVIRONMENT "RNP_TEST_DATA=${CMAKE_CURRENT_SOURCE_DIR}/data"
#gtest_discover_tests(rnp_tests
# PROPERTIES
# FIXTURES_REQUIRED testdata
# TIMEOUT 3000
# ENVIRONMENT "RNP_TEST_DATA=${CMAKE_CURRENT_SOURCE_DIR}/data"
#)
execute_process(
COMMAND "${CMAKE_CURRENT_BINARY_DIR}/rnp_tests"
ECHO_OUTPUT_VARIABLE
ECHO_ERROR_VARIABLE
)

# cli_tests
Expand Down

0 comments on commit 4154632

Please sign in to comment.