[CMake] add_test CONFIGURATIONS and linux
Steve M. Robbins
steve at sumost.ca
Wed Sep 14 00:52:30 EDT 2016
Hi,
I'm failing to be able to use "run-only-in-release" tests when running under linux (Debian).
Below is a short reproduction.
CmakeLists.txt
=============
cmake_minimum_required(VERSION 3.0)
=============
CMAKE_BUILD_TYPE=Release. Correct? Doesn't work for me:
Run Script
==========
steve at riemann{build}rm -rf *
Running tests...
Where am I going wrong?
Thanks!
-Steve
P.S. After writing this, I discovered that "ctest -C Release" will run the tests as desired. Why
doesn't simple "make test" work?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake/attachments/20160913/f08e3e98/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: This is a digitally signed message part.
URL: <http://public.kitware.com/pipermail/cmake/attachments/20160913/f08e3e98/attachment.sig>
More information about the CMake
mailing list