C++ with Boost Unit Test
Hello! I'm trying to get my C++ code that uses Boost Unit Test working. http://www.boost.org/doc/libs/1_42_0/libs/test/doc/html/index.html
However, the build is hanging when I run the unit test (via ctest). Not sure if my scripts are correct?
----CMakeLists.txt---
cmake_minimum_required(VERSION 2.8)
project(Tests)
find_package (Boost COMPONENTS unit_test_framework REQUIRED)
#add_definitions(-std=c++11)
include_directories(${Boost_INCLUDE_DIR})
add_executable(TestGaussLegendreQuadrature "TestGaussLegendreQuadrature.cpp" "GaussLegendreQuadrature.cpp")
target_link_libraries(TestGaussLegendreQuadrature ${Boost_UNIT_TEST_FRAMEWORK_LIBRARY})
enable_testing()
add_test(Tests TestGaussLegendreQuadrature)
--------------------------------
---------------appveyor.yml-----------
os: Visual Studio 2015
platform: x64
environment:
BOOST_ROOT: C:\Libraries\boost_1_59_0
BOOST_LIBRARYDIR: C:\Libraries\boost_1_59_0\lib64-msvc-14.0
build_script:
- mkdir build
- cd build
- cmake .. -G"Visual Studio 14 2015 Win64"
- cmake --build . --config Debug
test_script:
- ctest -VV -C Debug
-----------------------
----build log is----
https://ci.appveyor.com/project/larzw/gausslegendrequadrature/build/1.0.20
------
Which is hanging...Thanks in advance!
Comments are currently closed for this discussion. You can start a new one.
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
Support Staff 1 Posted by Feodor Fitsner on 24 Feb, 2016 04:29 AM
Try using RDP to see what's going on build worker during tests: http://www.appveyor.com/docs/how-to/rdp-to-build-worker
My guess there is a dialog window shown or something like that.
Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 02:04 AM.