> I am having a look now at the changes you made on the first patch (say
> 75b0e1679c39ca824a4c49d9e1a2ae2b5f04ae06), file
> RunCPackComponentsDEB/RunCPackVerifyResult-components-lintian-dpkgdeb-checks.cmake
>
> Instead of finding lintian and dpkg-deb in the check file
> find_program(LINTIAN_EXECUTABLE lintian)
> find_program(DPKGDEB_EXECUTABLE dpkg-deb)
>
> why not returning the string "NOTFOUND" in eg. the functions run_lintian
> lintian_output, like this:
>
> set(${lintian_output} "NOTFOUND" PARENT_SCOPE)
>

One reason is that tests that don't have prerequisites met should not
even be executed in the first place.
The other reason is that if I had time I would rewrite and generalize
all CPack tests to meet those expectations.

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

Reply via email to