> Does anyone here know if we have test coverage already for some cpack > generators where we create a package, then unpack it to verify the results? >
Tests/CPackComponentsDEB (Deb), Tests/CPackComponentsForAll (RPM) and tests in Tests/RunCMake/CPack (at the moment Deb, RPM, TGZ) all verify content of generated packages. I intended for Tests/RunCMake/CPack to be the location of all tests for CPack generated packages that can be verified with command line tools in a way that you specify the type of test and if other generators have the same capabilities they should use the same test with additional generator specific variables in a separate file. Unfortunately atm there are still some issues with those tests with the most annoying being the verbosity because of: - test should automatically cover different packaging styles [monolithic, components, ...], - for most tests files count and content should be the same with each generator's Helpers.cmake providing the format (at the moment each test has to provide special ExpectedFiles cmake script so it's too complicated to write tests) It's on my TODO list to extend Tests/RunCMake/CPack so hopefully I'll get to it in the following week or two. If you'd like to add your tests to it there is a README.txt file there that explains how it works and how to add your own tests to it. Regards, Domen
-- 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-developers