ctest Questions

1

Solved

Using CMake, I have a series of executables that are built, then added as tests, like this: set(TestID 1) add_executable (Test${TestID} Test${TestID}.cpp) # Create test configure_file(${TestID}.e...
Apogee asked 8/5, 2015 at 17:33

1

Solved

How do I get "make test" to display verbose output? I want "make test" to do the same thing as ctest -V through the command line. I have tried adding the following to my CMakeLists.txt, nothing wo...
Goddord asked 25/2, 2015 at 17:53

1

I cannot find how to specify labels. It should be something like ADD_TEST( FirstTest RunSomeProgram "withArguments" ) SET_TESTS_PROPERTIES( FirstTest PROPERTIES LABEL "TESTLABEL" ) Can someone ...
Delatorre asked 30/6, 2014 at 17:11

2

Solved

Can anyone give me an example of some QT test code and a CMakeLists.txt that build with Cmake and ran with CTest. I can't seem to find any! -Kurtis
Rettke asked 20/1, 2011 at 23:26

1

Solved

I have a C++ project in CMake and I have implemented unit tests (using GoogleTest) as well as integration tests i.e. executing applications and checking the results using regexp e.g. add_test(NAME...
Marvin asked 23/10, 2013 at 12:46

1

Solved

I'm trying to pass parameters to a gtest test suite from cmake: add_test(NAME craft_test COMMAND craft --gtest_output='xml:report.xml') The issue is that these parameters are being passed surro...
Honora asked 23/6, 2013 at 20:14

2

Solved

I have a working project with CMake and Boost.Test with a directory structure like this (pardon the ASCII art): +-proj |---CMakeLists.txt |---build |---test |\----dir1 | \----foo.cpp // contains o...
Borszcz asked 31/5, 2013 at 12:39

1

Solved

I want my tests to be launched each time my project is successfully built. And if some tests are broken I want my build to be broken too. By default I need to run tests manually by running ctest co...
Allegro asked 27/2, 2013 at 14:51

2

I use/maintain a few CMake projects, so I started examining CTest/CDash, but there's something that I can't figure out: Is it only made to display build/test results? (aka beautified logs) Or : M...
Chinoiserie asked 24/2, 2012 at 8:42

1

Solved

I got the following output after running make test, but how do i get to know what the error is? Running tests... Test project /home/puneet/puneet/office/alkimia/payment/build Start 1: alkimia-alk...
Spoon asked 3/8, 2011 at 18:12

1

Solved

Until now, I've used an improvised unit testing procedure - basically a whole load of unit test programs run automatically by a batch file. Although a lot of these explicitly check their results, a...
Copyist asked 22/7, 2010 at 3:14

© 2022 - 2024 — McMap. All rights reserved.