Skip to content
Snippets Groups Projects
Commit fef30810 authored by Petr Rockai's avatar Petr Rockai
Browse files

test: Fail more verbosely in cmake-pthread.sh.

parent 373b88ce
No related branches found
No related tags found
No related merge requests found
...@@ -5,4 +5,8 @@ cmake_minimum_required( VERSION 3.2 ) ...@@ -5,4 +5,8 @@ cmake_minimum_required( VERSION 3.2 )
find_package( Threads REQUIRED ) find_package( Threads REQUIRED )
EOF EOF
cmake -DCMAKE_C_COMPILER=dioscc -DCMAKE_CXX_COMPILER=dioscc if ! cmake -DCMAKE_C_COMPILER=dioscc -DCMAKE_CXX_COMPILER=dioscc .; then
cat CMakeFiles/CMakeOutput.log
cat CMakeFiles/CMakeError.log
exit 1
fi
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment