2009/11/23 Alex H <[email protected]>:
> Hello,
> I have the following command to compare two files:
> ADD_TEST(mytest ${CMAKE_COMMAND} -E compare_files file1.c file2.c)
>
> however when I run the test, then all it prints is :
> UpdateCTestConfiguration  from
> :/home/herlamba/ece373/src/homeworks/hw07-herlambang/DartConfiguration.tcl
> Start processing tests
> UpdateCTestConfiguration  from
> :/home/herlamba/ece373/src/homeworks/hw07-herlambang/DartConfiguration.tcl
> Test project /home/herlamba/ece373/src/homeworks/hw07-herlambang
> Constructing a list of tests
> No tests were found!!!
>
> am I doing something wrong here?
> I run the test by typing in:
>  ctest -VV -R mytest

Did you add ENABLE_TESTING() in your CMakeLists.txt?




-- 
Erk
Membre de l'April - « promouvoir et défendre le logiciel libre » -
http://www.april.org
_______________________________________________
Powered by www.kitware.com

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

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

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to