Tests 51 - 54 fail, even with -LE not_reproducible -LE git_required #2596
Answered
by
Andreas-Schniertshauer
Andreas-Schniertshauer
asked this question in
Q&A
-
I run the tests with the following flags: ctest -C Release --output-on-failure -LE not_reproducible -LE git_required but get The following tests FAILED:
51 - cmake_import_configure (Failed)
52 - cmake_import_build (Not Run)
53 - cmake_import_minver_configure (Failed)
54 - cmake_import_minver_build (Not Run)
Errors while running CTest 51 und 53 failed because of: CMake Error at json/build/nlohmann_jsonConfig.cmake:6 (include):
include could not find load file:
json/build/nlohmann_jsonTargets.cmake
Call Stack (most recent call first):
CMakeLists.txt:5 (find_package) 52 and 54 Not Run because of: Failed test dependencies: cmake_import_configure Are there other flags to set? |
Beta Was this translation helpful? Give feedback.
Answered by
Andreas-Schniertshauer
Jan 18, 2021
Replies: 2 comments 8 replies
-
What were the exact steps? Did you download the test data manually? |
Beta Was this translation helpful? Give feedback.
0 replies
-
I used the json-3.9.1.zip, unziped it, opened a Visual Studio 2019 Command Prompt, cd json-3.9.1
mkdir build
cd build
cmake .. -DJSON_BuildTests=On -D JSON_Install:BOOL=OFF -D JSON_ImplicitConversions:BOOL=OFF
cmake --build . --config Release
ctest -C Release --output-on-failure -LE not_reproducible -LE git_required Test data was downloaded in the last step automatically, I got: Start 1: download_test_data
1/58 Test #1: download_test_data ........................... Passed 34.60 sec and the folder json_test_data was created. |
Beta Was this translation helpful? Give feedback.
7 replies
Answer selected by
nlohmann
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I used the json-3.9.1.zip, unziped it, opened a Visual Studio 2019 Command Prompt,
Test data was downloaded in the last step automatically, I got:
Start 1: download_test_data 1/58 Test #1: download_test_data ........................... Passed 34.60 sec
and the folder json_test_data was created.