All,

I am running cmake version 3.0.1

In my dashboard CTest script, I'd like to only run the tests marked with the 
label "CUDA_TEST". When I set up the tests, I set their labels with the 
following command:

set_tests_properties(${testName} PROPERTIES LABELS CUDA_TEST)

When I run the tests manually using ctest:

ctest -L CUDA_TEST

only the tests with the CUDA_TEST label are executed, which is exactly what I 
want.

However, when I script this in my dashboard script, as follows:

CTEST_TEST(
              BUILD "${CTEST_BINARY_DIRECTORY}/Albany"
              INCLUDE_LABEL "CUDA_TEST"
)

I get the following:

SetCTestConfiguration:BuildDirectory:/home/gahanse/nightly/buildAlbany/Albany
SetCTestConfiguration:SourceDirectory:/home/gahanse/nightly/repos
Test project /home/gahanse/nightly/buildAlbany/Albany
Constructing a list of tests
Done constructing a list of tests
Checking test dependency graph...
Checking test dependency graph end
No tests were found!!!

Does anyone see what I might have done wrong or have ideas about what is 
happening?

Thanks!

Glen

--

*******************************************
   Glen Hansen
   Manager, Computational Multiphysics Dept. (1443)
   Sandia National Laboratories
   P.O. Box 5800, MS 1321
   Albuquerque, NM 87185-1321

   Email: [email protected]<mailto:[email protected]>
   Sandia Location: CSRI Room 168
   Phone: (505) 252-9514
*******************************************

-- 

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake

Reply via email to